diff --git a/components/UserProfile/CallbackFeedback.vue b/components/UserProfile/CallbackFeedback.vue index c0337e964..d23812253 100644 --- a/components/UserProfile/CallbackFeedback.vue +++ b/components/UserProfile/CallbackFeedback.vue @@ -23,18 +23,17 @@ const { updating, updateSuccess } = storeToRefs(accountStore); const { callbackLoading } = storeToRefs(callbackActionsStore); const { keyUrl, installing, success } = storeToRefs(installKeyStore); -const heading = computed(() => { - callbackLoading.value ? 'Performing actions' : 'Finished performing actions'; -}); - -const subheading = computed(() => { - callbackLoading.value ? 'Please keep this window open' : ''; -}); +const heading = computed(() => callbackLoading.value ? 'Performing actions' : 'Finished performing actions'); +const subheading = computed(() => callbackLoading.value ? 'Please keep this window open' : ''); const close = () => { if (callbackLoading.value) return console.debug('[close] not allowed'); callbackActionsStore.closeCallbackFeedback(); }; +// @close="close" +// :show-close-x="!callbackLoading" + +const reload = () => window.location.reload(); const { text, copy, copied, isSupported } = useClipboard({ source: keyUrl.value }); @@ -42,11 +41,9 @@ const { text, copy, copied, isSupported } = useClipboard({ source: keyUrl.value