Database Notification Actions are Not Saved on Database

Actions are not showing

$job = $event->job;

Notification::make()
      ->info()
      ->title('Test')
      ->body("Test")
      ->sendToDatabase($job->account->user)
      ->actions([
          ActionsAction::make('view')
              ->url(fn () => JobResource::getUrl('view', [$job])),
          ActionsAction::make('markAsRead')
              ->markAsRead()
      ])
  ;
Was this page helpful?