From 8c7bf0e1903c8c1e4c72fbfc5ad62f4a5176a469 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Wed, 7 Jun 2023 18:26:23 -0700 Subject: [PATCH] refactor: callback feedback --- components/UserProfile/CallbackFeedback.vue | 18 ++++++++++++++++++ store/callback.ts | 4 +--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/components/UserProfile/CallbackFeedback.vue b/components/UserProfile/CallbackFeedback.vue index 73418af73..3b8cee08b 100644 --- a/components/UserProfile/CallbackFeedback.vue +++ b/components/UserProfile/CallbackFeedback.vue @@ -2,6 +2,7 @@ import { storeToRefs } from 'pinia'; import 'tailwindcss/tailwind.css'; import '~/assets/main.css'; +import { useAccountStore } from '~/store/account'; import { useCallbackStore } from '~/store/callback'; import { useInstallKeyStore } from '~/store/installKey'; @@ -13,8 +14,13 @@ withDefaults(defineProps(), { open: false, }); +const accountStore = useAccountStore(); const callbackStore = useCallbackStore(); +const installKeyStore = useInstallKeyStore(); + +const { updating, updateSuccess } = storeToRefs(accountStore); const { callbackLoading, decryptedData } = storeToRefs(callbackStore); +const { installing, success } = storeToRefs(installKeyStore); const close = () => { if (callbackLoading.value) return console.debug('[close] not allowed'); @@ -37,6 +43,18 @@ const close = () => {
{{ JSON.stringify(decryptedData, null, 2) }}
+

Installing License Key

+ + +

Account Connect

+ +