file updated..
This commit is contained in:
@ -23,9 +23,11 @@ class Exports extends Component
|
||||
|
||||
$notification->markAsRead();
|
||||
|
||||
$type = isset($data['file_name']) ?: trans('general.export');
|
||||
|
||||
$this->dispatchBrowserEvent('mark-read', [
|
||||
'type' => 'export',
|
||||
'message' => trans('notifications.messages.mark_read', ['type' => $data['file_name']]),
|
||||
'message' => trans('notifications.messages.mark_read', ['type' => $type]),
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -23,9 +23,11 @@ class Imports extends Component
|
||||
|
||||
$notification->markAsRead();
|
||||
|
||||
$type = isset($data['translation']) ?: trans('import.import');
|
||||
|
||||
$this->dispatchBrowserEvent('mark-read', [
|
||||
'type' => 'import',
|
||||
'message' => trans('notifications.messages.mark_read', ['type' => $data['translation']]),
|
||||
'message' => trans('notifications.messages.mark_read', ['type' => $type]),
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user