Fix profile dropdown 500 by using the correct auth user variable.
Deploy Ladill Hosting / deploy (push) Successful in 55s
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:
@@ -81,7 +81,7 @@
|
|||||||
<div x-show="profileOpen" x-cloak x-transition @click.outside="profileOpen = false"
|
<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">
|
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', [
|
@include('partials.user-profile-menu', [
|
||||||
'items' => \App\Support\UserProfileMenu::items($user),
|
'items' => \App\Support\UserProfileMenu::items($u),
|
||||||
])
|
])
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user