From da51b4cf89791432b12a2d21c0ade4983c15aa4c Mon Sep 17 00:00:00 2001 From: MatteoGabriele Date: Thu, 12 Feb 2026 21:24:35 +0100 Subject: [PATCH 1/4] refactor: simplify account menu avatars --- app/components/Header/AccountMenu.client.vue | 102 +++++++------------ 1 file changed, 35 insertions(+), 67 deletions(-) diff --git a/app/components/Header/AccountMenu.client.vue b/app/components/Header/AccountMenu.client.vue index 3d5446e07..bbdab9335 100644 --- a/app/components/Header/AccountMenu.client.vue +++ b/app/components/Header/AccountMenu.client.vue @@ -18,9 +18,6 @@ const isOpen = shallowRef(false) /** Check if connected to at least one service */ const hasAnyConnection = computed(() => isNpmConnected.value || !!atprotoUser.value) -/** Check if connected to both services */ -const hasBothConnections = computed(() => isNpmConnected.value && !!atprotoUser.value) - /** Only show count of active (pending/approved/running) operations */ const operationCount = computed(() => activeOperations.value.length) @@ -64,13 +61,7 @@ function openAuthModal() { @click="isOpen = !isOpen" class="border-none" > - - - + - - - - - - - + {{ $t('account_menu.connect') }} - - -
- +
+ - + + + -
- - -
- - -
- @@ -168,7 +168,7 @@ onUnmounted(deactivate) @click="handleShowAuth" > -