From 33fa5075e7b2498eb56218f2c637befcbc413629 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Fri, 7 Jul 2023 14:57:28 -0700 Subject: [PATCH] refactor: launchpad copy conditionals --- components/UserProfile/DropdownLaunchpad.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/UserProfile/DropdownLaunchpad.vue b/components/UserProfile/DropdownLaunchpad.vue index b4d532ceb..ec7074e5c 100644 --- a/components/UserProfile/DropdownLaunchpad.vue +++ b/components/UserProfile/DropdownLaunchpad.vue @@ -6,7 +6,7 @@ import '~/assets/main.css'; const { expireTime, pluginInstalled, registered, state, stateData } = storeToRefs(useServerStore()); -const showConnectCopy = computed(() => (pluginInstalled.value && !registered.value)); +const showConnectCopy = computed(() => (pluginInstalled.value && !registered.value && !stateData.value?.error)); const heading = computed(() => { if (showConnectCopy.value) return 'Thank you for installing Connect!';