From 2d3b38ef9fca5c4f2078b286c4e755ea543fdc3c Mon Sep 17 00:00:00 2001 From: Curtis Delicata Date: Sat, 29 Jun 2024 15:15:51 +0000 Subject: [PATCH] Configure Jetstream classes in providers and separate panels into Admin and App --- app/Providers/Filament/AdminPanelProvider.php | 3 --- app/Providers/Filament/AppPanelProvider.php | 1 - 2 files changed, 4 deletions(-) diff --git a/app/Providers/Filament/AdminPanelProvider.php b/app/Providers/Filament/AdminPanelProvider.php index da1c2d9..78d599f 100644 --- a/app/Providers/Filament/AdminPanelProvider.php +++ b/app/Providers/Filament/AdminPanelProvider.php @@ -50,9 +50,6 @@ public function panel(Panel $panel): Panel ]) ->discoverResources(in: app_path('Filament/Admin/Resources'), for: 'App\\Filament\\Admin\\Resources') ->discoverPages(in: app_path('Filament/Admin/Pages'), for: 'App\\Filament\\Admin\\Pages') - ->pages([ - Filament\Page\Dashboard::class, - ]) ->discoverWidgets(in: app_path('Filament/Admin/Widgets/Home'), for: 'App\\Filament\\Admin\\Widgets\\Home') ->widgets([ Widgets\AccountWidget::class, diff --git a/app/Providers/Filament/AppPanelProvider.php b/app/Providers/Filament/AppPanelProvider.php index f59fbda..58f3365 100644 --- a/app/Providers/Filament/AppPanelProvider.php +++ b/app/Providers/Filament/AppPanelProvider.php @@ -61,7 +61,6 @@ public function panel(Panel $panel): Panel ->discoverResources(in: app_path('Filament/App/Resources'), for: 'App\\Filament\\App\\Resources') ->discoverPages(in: app_path('Filament/App/Pages'), for: 'App\\Filament\\App\\Pages') ->pages([ - FilamentPage\Dashboard::class, Pages\EditProfile::class, ]) ->discoverWidgets(in: app_path('Filament/App/Widgets/Home'), for: 'App\\Filament\\App\\Widgets\\Home')