Skip to content

Commit 1c6e27a

Browse files
remove download link from notification
1 parent c40b00c commit 1c6e27a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

app/Notifications/Admin/ExportExcelNotification.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
}

lang/ro/notification.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
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
];

0 commit comments

Comments
 (0)