Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions client/apps/webapp/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// ------
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import { GlobalComponents } from 'vue'

export {}

Expand All @@ -18,11 +17,3 @@ declare module 'vue' {
UserNav: typeof import('./src/components/UserNav.vue')['default']
}
}

// For TSX support
declare global {
const RouterLink: typeof import('vue-router')['RouterLink']
const RouterView: typeof import('vue-router')['RouterView']
const ThemeSwitcher: typeof import('./src/components/ThemeSwitcher.vue')['default']
const UserNav: typeof import('./src/components/UserNav.vue')['default']
}
6 changes: 5 additions & 1 deletion client/apps/webapp/src/components/UserNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ const getDisplayName = (currentUser: typeof user.value) => {
<template>
<DropdownMenu v-if="user">
<DropdownMenuTrigger as-child>
<Button variant="ghost" class="relative h-8 w-8 rounded-full">
<Button
variant="ghost"
class="relative h-8 w-8 rounded-full"
aria-label="Open user menu"
>
<Avatar class="h-8 w-8">
<AvatarFallback>{{ getUserInitials(user) }}</AvatarFallback>
</Avatar>
Expand Down
Loading