File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,8 @@ public function configurePackage(Package $package): void
4040 ->askToStarRepoOnGitHub ('vormkracht10/filament-fields ' );
4141 });
4242
43- // $configFileName = $package->shortName();
44-
4543 if (file_exists ($ package ->basePath ('/../config/fields.php ' ))) {
46- $ package ->hasConfigFile ();
44+ $ package ->hasConfigFile (' fields ' );
4745 }
4846
4947 if (file_exists ($ package ->basePath ('/../database/migrations ' ))) {
@@ -91,7 +89,7 @@ public function packageBooted(): void
9189
9290 $ this ->app ->bind (FieldInspector::class, FieldInspectionService::class);
9391
94- collect ($ this ->app ['config ' ]['filament- fields ' ]['custom_fields ' ] ?? [])
92+ collect ($ this ->app ['config ' ]['fields ' ]['custom_fields ' ] ?? [])
9593 ->each (function ($ field ) {
9694 Fields::registerField ($ field );
9795 });
@@ -155,4 +153,4 @@ protected function getMigrations(): array
155153 'create_fields_table ' ,
156154 ];
157155 }
158- }
156+ }
You can’t perform that action at this time.
0 commit comments