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 17df482 commit 625fd7eCopy full SHA for 625fd7e
resources/js/components/UserInfo.vue
@@ -11,7 +11,7 @@ interface Props {
11
const { user } = defineProps<Props>();
12
const { getInitials } = useInitials();
13
14
-// Compute whether we should show the avatar image
+// Compute whether we should show the avatar image...
15
const showAvatar = computed(() => user.avatar && user.avatar !== '');
16
</script>
17
@@ -22,6 +22,7 @@ const showAvatar = computed(() => user.avatar && user.avatar !== '');
22
{{ getInitials(user.name) }}
23
</AvatarFallback>
24
</Avatar>
25
+
26
<div class="grid flex-1 text-left text-sm leading-tight">
27
<span class="truncate font-semibold">{{ user.name }}</span>
28
<span class="truncate text-xs">{{ user.email }}</span>
0 commit comments