From e1cd8eb4fbfcd9d2b61540a85ecb04e95f6d4935 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Mon, 28 Aug 2023 15:07:54 -0700 Subject: [PATCH] refactor(upc): remove promo from callback modal succcess --- .../UserProfile/CallbackFeedback.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/web/components/UserProfile/CallbackFeedback.vue b/web/components/UserProfile/CallbackFeedback.vue index 5df317650..022ec90e5 100644 --- a/web/components/UserProfile/CallbackFeedback.vue +++ b/web/components/UserProfile/CallbackFeedback.vue @@ -59,7 +59,7 @@ const { */ const isSettingsPage = ref(document.location.pathname === '/Settings/ManagementAccess'); -const showPromoCta = computed(() => callbackStatus.value === 'success' && !connectPluginInstalled.value); +// const showPromoCta = computed(() => callbackStatus.value === 'success' && !connectPluginInstalled.value); const showSignInCta = computed(() => connectPluginInstalled.value && !registered.value && authAction.value?.name === 'signIn' && accountActionType.value !== 'signIn'); const heading = computed(() => { @@ -89,7 +89,7 @@ const subheading = computed(() => { return ''; }); -const closeText = computed(() => !connectPluginInstalled.value ? props.t('No thanks') : props.t('Close')); +const closeText = computed(() => props.t('Close')); // !connectPluginInstalled.value ? props.t('No thanks') : const close = () => { if (callbackStatus.value === 'loading') { return console.debug('[close] not allowed'); } return refreshServerStateStatus.value === 'done' @@ -97,10 +97,10 @@ const close = () => { : window.location.reload(); }; -const promoClick = () => { - promoStore.openOnNextLoad(); - close(); -}; +// const promoClick = () => { +// promoStore.openOnNextLoad(); +// close(); +// }; const { copy, copied, isSupported } = useClipboard({ source: keyUrl.value }); @@ -225,11 +225,11 @@ const accountActionStatusCopy = computed((): { text: string; } => { :text="accountActionStatusCopy.text" /> - + /> --> { /> - + /> -->