dev: hotfix, more standardization

This commit is contained in:
2025-10-12 12:15:52 +07:00
parent f7b66d2ad8
commit 966dc1c282
9 changed files with 12 additions and 12 deletions

No files matched your search

+3 -3
View File
@@ -22,13 +22,13 @@ const activeTeam = ref(props.teams[0])
<div
class="bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg"
>
<img :src="activeTeam.logo" class="h-full w-full" />
<img :src="activeTeam?.logo" class="h-full w-full" />
</div>
<div class="grid flex-1 text-left text-sm leading-tight">
<span class="truncate font-semibold">
{{ activeTeam.name }}
{{ activeTeam?.name }}
</span>
<span class="truncate text-xs">{{ activeTeam.plan }}</span>
<span class="truncate text-xs">{{ activeTeam?.plan }}</span>
</div>
</SidebarMenuButton>
</DropdownMenuTrigger>