Fix profile dropdown 500 by using the correct auth user variable.
Deploy Ladill Hosting / deploy (push) Successful in 55s

Topbar defines $u but the menu partial was passed undefined $user.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-19 10:48:59 +00:00
co-authored by Cursor
parent e17cada9b6
commit 44cfb1d9b9
+1 -1
View File
@@ -81,7 +81,7 @@
<div x-show="profileOpen" x-cloak x-transition @click.outside="profileOpen = false"
class="absolute right-0 z-50 mt-2 w-56 rounded-xl border border-slate-200 bg-white shadow-lg">
@include('partials.user-profile-menu', [
'items' => \App\Support\UserProfileMenu::items($user),
'items' => \App\Support\UserProfileMenu::items($u),
])
</div>
</div>