File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2121use SolutionForest \FilamentFieldGroup \Facades \FilamentFieldGroup ;
2222use SolutionForest \InspireCms \Base as InspireCmsBase ;
2323use SolutionForest \InspireCms \Base \Manifests as BaseManifests ;
24+ use SolutionForest \InspireCms \Factories \PreviewFactory ;
2425use SolutionForest \InspireCms \Fields \PropertyValueTransformer ;
2526use SolutionForest \InspireCms \Fields \PropertyValueTransformerInterface ;
2627use SolutionForest \InspireCms \Helpers \AuthHelper ;
@@ -294,7 +295,7 @@ protected function registerModels(): void
294295
295296 protected function customPlugins (): void
296297 {
297- if (InspireCmsConfig::get ('system.override_plugins.field_group_models ' , false )) {
298+ if (InspireCmsConfig::get ('system.override_plugins.field_group_models ' , true )) {
298299
299300 // override field group models
300301 FilamentFieldGroup::setFieldGroupModelClass (
@@ -314,8 +315,8 @@ protected function customPlugins(): void
314315 fn ($ field , array $ schema ) => static ::configureFileFieldTypeConfigFormSchema ($ schema )
315316 );
316317 }
317- if (InspireCmsConfig::get ('system.override_plugins.spatie_permission ' , false )) {
318318
319+ if (InspireCmsConfig::get ('system.override_plugins.spatie_permission ' , true )) {
319320 config ()->set ('permission.enable_wildcard_permission ' , true );
320321 }
321322
You can’t perform that action at this time.
0 commit comments