diff --git a/web/components/UserProfile.ce.vue b/web/components/UserProfile.ce.vue index a0deedf37..d8d9c6635 100644 --- a/web/components/UserProfile.ce.vue +++ b/web/components/UserProfile.ce.vue @@ -31,13 +31,9 @@ const { guid, keyfile, lanIp, - state, - connectPluginInstalled, } = storeToRefs(serverStore); const { bannerGradient, theme } = storeToRefs(useThemeStore()); -const hideDropdown = computed(() => state.value === 'PRO' && !connectPluginInstalled.value); - /** * Close dropdown when clicking outside * @note If in testing you have two variants of the component on a page the clickOutside will fire twice making it seem like it doesn't work @@ -129,14 +125,12 @@ onBeforeMount(() => { - + + + + diff --git a/web/components/UserProfile/DropdownTrigger.vue b/web/components/UserProfile/DropdownTrigger.vue index 35faebe00..2648ab68f 100644 --- a/web/components/UserProfile/DropdownTrigger.vue +++ b/web/components/UserProfile/DropdownTrigger.vue @@ -35,6 +35,8 @@ const title = computed((): string => { if (showErrorIcon.value) { return props.t('Learn more about the error'); } return dropdownVisible.value ? props.t('Close Dropdown') : props.t('Open Dropdown'); }); + +// const hideAvatar = computed(() => state.value === 'PRO' && !connectPluginInstalled.value);