diff --git a/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormFieldsRelationManager.php b/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormFieldsRelationManager.php index 5660149..c90a038 100644 --- a/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormFieldsRelationManager.php +++ b/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormFieldsRelationManager.php @@ -84,14 +84,14 @@ public function table(Table $table): Table ->headerActions([ Tables\Actions\CreateAction::make() ->visible(function () use ($form) { - return !$form->locked; + return ! $form->locked; }) ->label('Create Field'), Action::make('lock_fields') ->requiresConfirmation() ->modalHeading('Lock Form Fields. Doing this will lock the forms fields and new fields will no longer be able to be changed or edited') ->visible(function () use ($form) { - return !$form->locked; + return ! $form->locked; }) ->action(function () use ($form) { $form->update([ @@ -113,18 +113,18 @@ public function table(Table $table): Table ->actions([ Tables\Actions\EditAction::make() ->visible(function () use ($form) { - return !$form->locked; + return ! $form->locked; }), Tables\Actions\DeleteAction::make() ->visible(function () use ($form) { - return !$form->locked; + return ! $form->locked; }), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DeleteBulkAction::make() ->visible(function () use ($form) { - return !$form->locked; + return ! $form->locked; }), ]), ]);