Fix corrupted profileMenuItems in layouts after menu propagation.
Deploy Ladill Servers / deploy (push) Has been cancelled
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:
@@ -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',
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user