Skip to content

Commit

Permalink
chore: formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramkanakam87 committed Aug 12, 2024
1 parent e18fc03 commit 3c5bf13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Dashboard/Resources/MoleculeResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public static function table(Table $table): Table
return $record['active'] ? 'Deactivate' : 'Activate';
})
->hidden(function () {
return !auth()->user()->hasRole('super_admin');
return ! auth()->user()->hasRole('super_admin');
})
->form([
Textarea::make('reason')
Expand Down

0 comments on commit 3c5bf13

Please sign in to comment.