mirror of
https://github.com/pelican-dev/panel.git
synced 2025-07-01 17:41:08 +02:00
Fix EditProfile
button
This commit is contained in:
parent
e2b498c458
commit
a144bc0939
@ -47,7 +47,7 @@ class ServerPanelProvider extends PanelProvider
|
|||||||
->profile(EditProfile::class, false)
|
->profile(EditProfile::class, false)
|
||||||
->passwordReset()
|
->passwordReset()
|
||||||
->userMenuItems([
|
->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')
|
Action::make('toServerList')
|
||||||
->label('Server List')
|
->label('Server List')
|
||||||
->icon('tabler-brand-docker')
|
->icon('tabler-brand-docker')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user