Fix console duplicating with spa (#1990)

This commit is contained in:
Charles 2025-12-13 21:49:58 -05:00 committed by GitHub
parent fdd9faaaa3
commit 59f0fe1959
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'))