From 53a5da45b22d43533f3b1ef2c18e77a6451007cf Mon Sep 17 00:00:00 2001 From: Tor Rivera Date: Fri, 3 Nov 2023 06:41:15 +0100 Subject: [PATCH] Fixes the issue where DeleteBulkAction did not delete. --- src/Filament/Resources/EmailResource.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Filament/Resources/EmailResource.php b/src/Filament/Resources/EmailResource.php index 117c793..45f1a5a 100644 --- a/src/Filament/Resources/EmailResource.php +++ b/src/Filament/Resources/EmailResource.php @@ -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(), ]); }