Skip to content

Commit

Permalink
Apply style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pxlrbt authored and github-actions[bot] committed Jan 5, 2024
1 parent 83f6598 commit c4147a3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/FilamentExcelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ public function sendExportFinishedNotification(): void

if (Filament::getCurrentPanel()->hasDatabaseNotifications()) {
Notification::make(data_get($export, 'id'))
->title(__('filament-excel::notifications.download_ready.title'))
->body(__('filament-excel::notifications.download_ready.body'))
->success()
->icon('heroicon-o-arrow-down-tray')
->actions([
Action::make('download')
->label(__('filament-excel::notifications.download_ready.download'))
->url($url, shouldOpenInNewTab: true)
->button()
])
->sendToDatabase(auth()->user());
->title(__('filament-excel::notifications.download_ready.title'))
->body(__('filament-excel::notifications.download_ready.body'))
->success()
->icon('heroicon-o-arrow-down-tray')
->actions([
Action::make('download')
->label(__('filament-excel::notifications.download_ready.download'))
->url($url, shouldOpenInNewTab: true)
->button(),
])
->sendToDatabase(auth()->user());
} else {
Notification::make(data_get($export, 'id'))
->title(__('filament-excel::notifications.download_ready.title'))
Expand Down

0 comments on commit c4147a3

Please sign in to comment.