Fix corrupted profileMenuItems in layouts after menu propagation.
Deploy Ladill Hosting / deploy (push) Successful in 1m27s
Deploy Ladill Hosting / deploy (push) Successful in 1m27s
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,12 +47,6 @@
|
||||
'profileName' => $navUser?->name ?? '',
|
||||
'profileSubtitle' => $navUser?->email ?? '',
|
||||
'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser),
|
||||
['type' => 'link', 'label' => 'Profile', 'href' => ladill_account_url('profile')],
|
||||
['type' => 'link', 'label' => 'Account Settings', 'href' => ladill_account_url('account-settings')],
|
||||
['type' => 'link', 'label' => 'Dashboard', 'href' => route('email.dashboard')],
|
||||
['type' => 'link', 'label' => 'Billing', 'href' => ladill_account_url('billing')],
|
||||
['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')],
|
||||
],
|
||||
'avatarUrl' => $navUser?->avatar_url,
|
||||
'initials' => $navInitials !== '' ? $navInitials : 'U',
|
||||
])
|
||||
|
||||
@@ -46,12 +46,6 @@
|
||||
'profileName' => $navUser?->name ?? '',
|
||||
'profileSubtitle' => $navUser?->email ?? '',
|
||||
'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser),
|
||||
['type' => 'link', 'label' => 'Profile', 'href' => ladill_account_url('profile')],
|
||||
['type' => 'link', 'label' => 'Account Settings', 'href' => ladill_account_url('account-settings')],
|
||||
['type' => 'link', 'label' => 'Dashboard', 'href' => route('hosting.dashboard')],
|
||||
['type' => 'link', 'label' => 'Billing', 'href' => ladill_account_url('billing')],
|
||||
['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')],
|
||||
],
|
||||
'avatarUrl' => $navUser?->avatar_url,
|
||||
'initials' => $navInitials !== '' ? $navInitials : 'U',
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user