Fix corrupted profileMenuItems in layouts after menu propagation.
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:
isaacclad
2026-06-19 10:04:14 +00:00
co-authored by Cursor
parent 53f38ba794
commit bb421f3dbc
2 changed files with 0 additions and 12 deletions
-6
View File
@@ -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',
])