We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fbfedf commit 41c5df0Copy full SHA for 41c5df0
src/FilamentExport.php
@@ -21,7 +21,10 @@ public static function createExportUrlUsing(Closure $closure): void
21
protected function sendDatabaseNotification(array $export, string $url): void
22
{
23
$previousLocale = app()->getLocale();
24
- app()->setLocale($export['locale']);
+
25
+ if (isset($export['locale'])) {
26
+ app()->setLocale($export['locale']);
27
+ }
28
29
Notification::make(data_get($export, 'id'))
30
->title(__('filament-excel::notifications.download_ready.title'))
0 commit comments