From bd178d6fd8282127dc8affcf6a3336d9d0cb9b7b Mon Sep 17 00:00:00 2001 From: Alex Popa Date: Thu, 12 Dec 2024 16:28:48 +0200 Subject: [PATCH] Eliminate breadcrumbs --- .../CommunityProfileResource/Pages/EditCommunityProfile.php | 5 +++++ .../CommunityResource/Pages/ListCommunityProfiles.php | 5 +++++ .../Organizations/Resources/UserResource/Pages/ListUsers.php | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/app/Filament/Organizations/Resources/CommunityProfileResource/Pages/EditCommunityProfile.php b/app/Filament/Organizations/Resources/CommunityProfileResource/Pages/EditCommunityProfile.php index c60afc04..5cd1205a 100644 --- a/app/Filament/Organizations/Resources/CommunityProfileResource/Pages/EditCommunityProfile.php +++ b/app/Filament/Organizations/Resources/CommunityProfileResource/Pages/EditCommunityProfile.php @@ -16,6 +16,11 @@ class EditCommunityProfile extends EditRecord protected static string $view = 'filament.organizations.pages.empty-page'; + public function getBreadcrumbs(): array + { + return []; + } + public function getTitle(): string|Htmlable { return __('community.headings.empty_state_title'); diff --git a/app/Filament/Organizations/Resources/CommunityResource/Pages/ListCommunityProfiles.php b/app/Filament/Organizations/Resources/CommunityResource/Pages/ListCommunityProfiles.php index 0079a7b0..f60cb1c4 100644 --- a/app/Filament/Organizations/Resources/CommunityResource/Pages/ListCommunityProfiles.php +++ b/app/Filament/Organizations/Resources/CommunityResource/Pages/ListCommunityProfiles.php @@ -14,6 +14,11 @@ class ListCommunityProfiles extends ListRecords protected static string $view = 'filament.organizations.pages.empty-page'; + public function getBreadcrumbs(): array + { + return []; + } + public function getTitle(): string|Htmlable { return __('community.headings.empty_state_title'); diff --git a/app/Filament/Organizations/Resources/UserResource/Pages/ListUsers.php b/app/Filament/Organizations/Resources/UserResource/Pages/ListUsers.php index 2a1a8c88..236f8830 100644 --- a/app/Filament/Organizations/Resources/UserResource/Pages/ListUsers.php +++ b/app/Filament/Organizations/Resources/UserResource/Pages/ListUsers.php @@ -18,4 +18,9 @@ protected function getHeaderActions(): array Actions\CreateAction::make(), ]; } + + public function getBreadcrumbs(): array + { + return []; + } }