mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 04:04:45 +02:00
Fix EditProfile
cannot use /
in trans()
(#1178)
This commit is contained in:
parent
68a6dc45cb
commit
72b9c309d3
@ -40,7 +40,7 @@ class AdminPanelProvider extends PanelProvider
|
||||
->maxContentWidth(config('panel.filament.display-width', 'screen-2xl'))
|
||||
->login(Login::class)
|
||||
->userMenuItems([
|
||||
'profile' => MenuItem::make()->label(trans('filament-panels::pages/auth/edit-profile.label'))->url(fn () => EditProfile::getUrl(panel: 'app')),
|
||||
'profile' => MenuItem::make()->label(trans('filament-panels::pages.auth.edit-profile.label'))->url(fn () => EditProfile::getUrl(panel: 'app')),
|
||||
MenuItem::make()
|
||||
->label(trans('profile.exit_admin'))
|
||||
->url('/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user