diff --git a/src/FilamentExcelServiceProvider.php b/src/FilamentExcelServiceProvider.php index a1522ca..9d2175d 100644 --- a/src/FilamentExcelServiceProvider.php +++ b/src/FilamentExcelServiceProvider.php @@ -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'))