File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 22
33namespace Statikbe \FilamentFlexibleContentBlockPages \Resources \PageResource \Pages ;
44
5+ use Filament \Actions \LocaleSwitcher ;
56use Filament \Resources \Pages \CreateRecord ;
67use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
78use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
@@ -15,4 +16,11 @@ public static function getResource(): string
1516 {
1617 return FilamentFlexibleContentBlockPages::config ()->getResources ()[FilamentFlexibleContentBlockPagesConfig::TYPE_PAGE ];
1718 }
19+
20+ protected function getActions (): array
21+ {
22+ return [
23+ LocaleSwitcher::make (),
24+ ];
25+ }
1826}
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ protected function getActions(): array
2626 {
2727 return [
2828 LocaleSwitcher::make (),
29- DeleteAction::make (),
3029 ];
3130 }
3231}
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ protected function getActions(): array
2626 {
2727 return [
2828 LocaleSwitcher::make (),
29- DeleteAction::make (),
3029 ];
3130 }
3231}
You can’t perform that action at this time.
0 commit comments