We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac2d172 commit c22e63eCopy full SHA for c22e63e
resources/js/components/AppHeader.vue
@@ -166,7 +166,7 @@ const rightNavItems: NavItem[] = [
166
class="relative size-10 w-auto rounded-full p-1 focus-within:ring-2 focus-within:ring-primary"
167
>
168
<Avatar class="size-8 overflow-hidden rounded-full">
169
- <AvatarImage :src="auth.user.avatar" :alt="auth.user.name" />
+ <AvatarImage v-if="auth.user.avatar" :src="auth.user.avatar" :alt="auth.user.name" />
170
<AvatarFallback class="rounded-lg bg-neutral-200 font-semibold text-black dark:bg-neutral-700 dark:text-white">
171
{{ getInitials(auth.user?.name) }}
172
</AvatarFallback>
0 commit comments