Fix corrupted profileMenuItems in layouts after menu propagation.
Deploy Ladill Servers / deploy (push) Has been cancelled

Remove orphaned array entries that caused Blade parse errors and 500 responses on authenticated pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-19 10:05:10 +00:00
co-authored by Cursor
parent a30a0f659f
commit c48cb46e28
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -47,9 +47,6 @@
'profileName' => $navUser?->name ?? '', 'profileName' => $navUser?->name ?? '',
'profileSubtitle' => $navUser?->email ?? '', 'profileSubtitle' => $navUser?->email ?? '',
'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser), 'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser),
['type' => 'link', 'label' => 'Account Settings', 'href' => $navAcct.'/account-settings'],
['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')],
],
'avatarUrl' => $navUser?->avatar_url, 'avatarUrl' => $navUser?->avatar_url,
'initials' => $navInitials !== '' ? $navInitials : 'U', 'initials' => $navInitials !== '' ? $navInitials : 'U',
]) ])
@@ -46,9 +46,6 @@
'profileName' => $navUser?->name ?? '', 'profileName' => $navUser?->name ?? '',
'profileSubtitle' => $navUser?->email ?? '', 'profileSubtitle' => $navUser?->email ?? '',
'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser), 'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser),
['type' => 'link', 'label' => 'Account Settings', 'href' => $navAcct.'/account-settings'],
['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')],
],
'avatarUrl' => $navUser?->avatar_url, 'avatarUrl' => $navUser?->avatar_url,
'initials' => $navInitials !== '' ? $navInitials : 'U', 'initials' => $navInitials !== '' ? $navInitials : 'U',
]) ])