mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-22 01:34:03 +01:00
Fix console duplicating with spa (#1990)
This commit is contained in:
parent
fdd9faaaa3
commit
59f0fe1959
@ -28,7 +28,7 @@ abstract class PanelProvider extends BasePanelProvider
|
|||||||
public function panel(Panel $panel): Panel
|
public function panel(Panel $panel): Panel
|
||||||
{
|
{
|
||||||
return $panel
|
return $panel
|
||||||
->spa()
|
->spa(fn () => !request()->routeIs('filament.server.pages.console'))
|
||||||
->databaseNotifications()
|
->databaseNotifications()
|
||||||
->brandName(config('app.name', 'Pelican'))
|
->brandName(config('app.name', 'Pelican'))
|
||||||
->brandLogo(config('app.logo'))
|
->brandLogo(config('app.logo'))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user