Fix EditProfile button

This commit is contained in:
RMartinOscar 2025-06-29 03:39:45 +00:00
parent e2b498c458
commit a144bc0939

View File

@ -47,7 +47,7 @@ class ServerPanelProvider extends PanelProvider
->profile(EditProfile::class, false)
->passwordReset()
->userMenuItems([
'profile' => fn (Action $action) => $action->label(auth()->user()->username),
'profile' => fn (Action $action) => $action->label(auth()->user()->username)->url(fn () => EditProfile::getUrl(panel: 'app')),
Action::make('toServerList')
->label('Server List')
->icon('tabler-brand-docker')