Skip to content

Commit

Permalink
Merge pull request #411 from code4romania/289-eliminate-breadcrumbs-f…
Browse files Browse the repository at this point in the history
…rom-the-primary-pages

Eliminate breadcrumbs
  • Loading branch information
gheorghelupu17 authored Dec 16, 2024
2 parents 7edc956 + bd178d6 commit 0c3c22c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ protected function getHeaderActions(): array
Actions\CreateAction::make(),
];
}

public function getBreadcrumbs(): array
{
return [];
}
}

0 comments on commit 0c3c22c

Please sign in to comment.