File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -68,16 +68,16 @@ public function toDatabase(): array
6868 {
6969 return FilamentNotification::make ()
7070 ->title (__ ('notification.export_finished.title ' ))
71- ->body (__ ('notification.export_finished.body ' , [ ' filename ' => $ this -> filename ] ))
71+ ->body (__ ('notification.export_finished.notification ' ))
7272 ->success ()
7373 ->seconds (5 )
7474 ->icon ('heroicon-o-inbox-in ' )
7575 ->actions ([
76- Action::make ('export_excel ' )
77- ->label (__ ('filament-excel::notifications.download_ready.download ' ))
78- ->url ($ this ->generateURL (), shouldOpenInNewTab: true )
79- ->button ()
80- ->close (),
76+ // Action::make('export_excel')
77+ // ->label(__('filament-excel::notifications.download_ready.download'))
78+ // ->url($this->generateURL(), shouldOpenInNewTab: true)
79+ // ->button()
80+ // ->close(),
8181 ])
8282 ->getDatabaseMessage ();
8383 }
Original file line number Diff line number Diff line change 1818 'export_finished ' => [
1919 'title ' => 'Exportul a fost finalizat ' ,
2020 'body ' => ' Procesul de export pentru :filename a fost finalizat ' ,
21+ 'notification ' => 'Fisierul a fost trimis la adresa de email asociata contului tau. ' ,
2122 'action ' => 'Descarcă ' ,
2223 ],
2324];
You can’t perform that action at this time.
0 commit comments