diff --git a/components/UserProfile/UptimeExpire.vue b/components/UserProfile/UptimeExpire.vue index e66aa7b2a..4385e9504 100644 --- a/components/UserProfile/UptimeExpire.vue +++ b/components/UserProfile/UptimeExpire.vue @@ -19,9 +19,7 @@ const formattedTime = computed(() => { return dateFormat((uptimeOrExpiredTime.value).toString()); }); -const countUp = computed(() => { - return state.value !== 'TRIAL' && state.value === 'EEXPIRED'; -}) +const countUp = computed(() => state.value !== 'TRIAL'); const output = computed(() => { if (!countUp.value) { @@ -44,6 +42,9 @@ const runDiff = () => parsedTime.value = buildStringFromValues(dateDiff((uptimeO let interval: string | number | NodeJS.Timeout | undefined = undefined; onBeforeMount(() => { + console.debug('[uptimeOrExpiredTime]', uptimeOrExpiredTime.value); + console.debug('[state]', state.value); + console.debug('[countUp]', countUp.value); runDiff(); interval = setInterval(() => { runDiff();