mirror of
https://github.com/pelican-dev/panel.git
synced 2025-10-29 07:36:52 +01:00
Topbar removed if using sidebar (#1789)
Co-authored-by: Boy132 <mail@boy132.de>
This commit is contained in:
parent
1f56b8e114
commit
e99f7179c6
@ -16,6 +16,7 @@ class AppPanelProvider extends PanelProvider
|
||||
->default()
|
||||
->breadcrumbs(false)
|
||||
->navigation(false)
|
||||
->topbar(true)
|
||||
->userMenuItems([
|
||||
Action::make('to_admin')
|
||||
->label(trans('profile.admin'))
|
||||
|
||||
@ -35,6 +35,7 @@ abstract class PanelProvider extends BasePanelProvider
|
||||
->brandLogoHeight('2rem')
|
||||
->favicon(config('app.favicon', '/pelican.ico'))
|
||||
->topNavigation(fn () => user()?->getCustomization(CustomizationKey::TopNavigation))
|
||||
->topbar(fn () => user()?->getCustomization(CustomizationKey::TopNavigation))
|
||||
->maxContentWidth(config('panel.filament.display-width', 'screen-2xl'))
|
||||
->profile(EditProfile::class, false)
|
||||
->userMenuItems([
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user