Skip to content

Commit 2fa3257

Browse files
author
Lasim
committed
fix(frontend): remove hotlined profile picture
1 parent b3df717 commit 2fa3257

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
23.2 KB
Loading

services/frontend/src/components/AppSidebar.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ const navigationItems = [
120120
// Helper function to check if a route is active
121121
const isRouteActive = (url: string) => {
122122
const currentPath = router.currentRoute.value.path
123-
123+
124124
// Special case: '/teams' should only match exactly '/teams', not '/teams/manage/...'
125125
if (url === '/teams') {
126126
return currentPath === '/teams'
127127
}
128-
128+
129129
// For all other routes, use startsWith for sub-route matching
130130
return currentPath.startsWith(url)
131131
}
@@ -421,7 +421,7 @@ onUnmounted(() => {
421421
<DropdownMenuTrigger as-child>
422422
<SidebarMenuButton size="lg" class="data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground">
423423
<Avatar class="h-8 w-8 rounded-lg">
424-
<AvatarImage src="https://www.shadcn-vue.com/avatars/shadcn.jpg" :alt="userName" />
424+
<AvatarImage src="/images/user.jpg" :alt="userName" />
425425
<AvatarFallback class="rounded-lg">
426426
{{ userLoading ? '...' : getUserInitials(userName || userEmail) }}
427427
</AvatarFallback>

0 commit comments

Comments
 (0)