From f75cc7ab33f1412c300db57494af4db3f896c65d Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Tue, 15 Aug 2023 16:08:47 -0700 Subject: [PATCH] refactor: callback modal close text --- web/components/UserProfile/CallbackFeedback.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/components/UserProfile/CallbackFeedback.vue b/web/components/UserProfile/CallbackFeedback.vue index 6483be34f..8e5bdfeff 100644 --- a/web/components/UserProfile/CallbackFeedback.vue +++ b/web/components/UserProfile/CallbackFeedback.vue @@ -89,10 +89,7 @@ const subheading = computed(() => { return ''; }); -const closeText = computed(() => { - const txt = !connectPluginInstalled.value ? props.t('No thanks') : props.t('Close'); - return refreshServerStateStatus.value === 'done' ? txt : props.t('Reload'); -}); +const closeText = computed(() => !connectPluginInstalled.value ? props.t('No thanks') : props.t('Close')); const close = () => { if (callbackStatus.value === 'loading') { return console.debug('[close] not allowed'); } return refreshServerStateStatus.value === 'done'