Fix corrupted profileMenuItems in layouts after menu propagation.
Deploy Ladill Give / deploy (push) Successful in 50s
Deploy Ladill Give / deploy (push) Successful in 50s
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:
@@ -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',
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -74,10 +74,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' => ladill_account_url('account-settings')],
|
|
||||||
['type' => 'link', 'label' => 'Overview', 'href' => route('give.dashboard')],
|
|
||||||
['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')],
|
|
||||||
],
|
|
||||||
'avatarUrl' => $navUser?->avatarUrl(),
|
'avatarUrl' => $navUser?->avatarUrl(),
|
||||||
'initials' => $navInitials !== '' ? $navInitials : 'U',
|
'initials' => $navInitials !== '' ? $navInitials : 'U',
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user