From 134a4d37a95818374d7ee9470fa66a4f7678bbf2 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Thu, 29 Jun 2023 17:18:40 -0700 Subject: [PATCH] refactor: callback feedback trial expire time --- components/UserProfile/CallbackFeedback.vue | 12 ++++++++-- components/UserProfile/UptimeExpire.vue | 26 +++++++++++++++++---- store/installKey.ts | 3 ++- 3 files changed, 33 insertions(+), 8 deletions(-) diff --git a/components/UserProfile/CallbackFeedback.vue b/components/UserProfile/CallbackFeedback.vue index 748068597..c0d0b1c99 100644 --- a/components/UserProfile/CallbackFeedback.vue +++ b/components/UserProfile/CallbackFeedback.vue @@ -22,7 +22,7 @@ const installKeyStore = useInstallKeyStore(); const { accountActionStatus, accountActionStatusCopy } = storeToRefs(accountStore); const { callbackData, callbackStatus } = storeToRefs(callbackActionsStore); -const { keyUrl, keyInstallStatus, keyInstallStatusCopy } = storeToRefs(installKeyStore); +const { keyUrl, keyInstallStatus, keyInstallStatusCopy, keyType } = storeToRefs(installKeyStore); const heading = computed(() => callbackStatus.value === 'loading' ? 'Performing actions' : 'Finished performing actions'); const subheading = computed(() => callbackStatus.value === 'loading' ? 'Please keep this window open' : ''); @@ -47,6 +47,12 @@ const modalSuccess = computed(() => { const reload = () => window.location.reload(); const { text, copy, copied, isSupported } = useClipboard({ source: keyUrl.value }); + +watch(callbackStatus, (n, o) => console.debug('[callbackStatus]', n, o)); +watch(accountActionStatus, (n, o) => console.debug('[accountActionStatus]', n, o)); +watch(keyInstallStatus, (n, o) => console.debug('[keyInstallStatus]', n, o)); +watch(modalError, (n, o) => console.debug('[modalError]', n, o)); +watch(modalSuccess, (n, o) => console.debug('[modalSuccess]', n, o));