diff --git a/frontend/src/components/session/TabBar.vue b/frontend/src/components/session/TabBar.vue index 0c74c3a..8d5f6a4 100644 --- a/frontend/src/components/session/TabBar.vue +++ b/frontend/src/components/session/TabBar.vue @@ -6,21 +6,50 @@ v-for="session in sessionStore.sessions" :key="session.id" class="group flex items-center gap-2 px-3 h-9 text-xs whitespace-nowrap border-r border-[var(--wraith-border)] transition-all duration-500 cursor-pointer shrink-0" - :class=" + :class="[ session.id === sessionStore.activeSessionId ? 'bg-[var(--wraith-bg-primary)] text-[var(--wraith-text-primary)] border-b-2 border-b-[var(--wraith-accent-blue)]' - : 'text-[var(--wraith-text-muted)] hover:text-[var(--wraith-text-secondary)] hover:bg-[var(--wraith-bg-tertiary)]' - " + : 'text-[var(--wraith-text-muted)] hover:text-[var(--wraith-text-secondary)] hover:bg-[var(--wraith-bg-tertiary)]', + isRootUser(session) ? 'border-t-2 border-t-[#f8514966]' : '', + ]" @click="sessionStore.activateSession(session.id)" > - - + + + + + + + + + + + {{ session.name }} + + +