Skip to content

Commit 39cc003

Browse files
committed
Fix missing name in sidebar user menu
1 parent 74dd1bc commit 39cc003

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

resources/views/components/desktop-user-menu.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<flux:dropdown position="bottom" align="start">
22
<flux:sidebar.profile
3+
{{ $attributes->only('name') }}
34
:initials="auth()->user()->initials()"
45
icon:trailing="chevrons-up-down"
56
data-test="sidebar-menu-button"

resources/views/components/layouts/app/sidebar.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</flux:sidebar.item>
3131
</flux:sidebar.nav>
3232

33-
<x-desktop-user-menu class="hidden lg:block" />
33+
<x-desktop-user-menu class="hidden lg:block" :name="auth()->user()->name" />
3434
</flux:sidebar>
3535

3636

0 commit comments

Comments
 (0)