Skip to content

Commit

Permalink
Fixes the issue where DeleteBulkAction did not delete.
Browse files Browse the repository at this point in the history
  • Loading branch information
torriv83 committed Nov 3, 2023
1 parent 1f7f56c commit 53a5da4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Filament/Resources/EmailResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,7 @@ public static function table(Table $table): Table
])
->groupedBulkActions([
DeleteBulkAction::make()
->requiresConfirmation()
->action(function () {
Notification::make()
->title('Emails succesfully deleted')
->success()
->send();
}),
->requiresConfirmation(),
]);
}

Expand Down

0 comments on commit 53a5da4

Please sign in to comment.