BulkAction action() is not executing on click

I have defined a BulkAction like that:
BulkAction::make('test')
->label('test')
->action(function (Collection $records) {
Notification::make()
->title('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
->send();
}),
BulkAction::make('test')
->label('test')
->action(function (Collection $records) {
Notification::make()
->title('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
->send();
}),
The button appears (and it was working before). Now it seems that the action() is not executed. I ran artisan optimize:clear to clear the caches, and npm run build just in case, but still the action() mehtod is not called - as it does not accept the click on the button. Any ideas how can I debug that?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server