How can I redirect on notifications action?
I currently have this but when i press the the View button nothing happens. This tells me that the default behavior doesnt allow for redirects. Is this at all possible to do?
Notification::make()
->title('Saved successfully')
->success()
->body('Changes to the post have been saved.')
->actions([
\Filament\Notifications\Actions\Action::make('view')
->button()
->action($this->redirect(TestResource::getUrl('edit', ['record' => $this->record->id]))),
])
->sendToDatabase($recipient);