file updated..

This commit is contained in:
Cüneyt Şentürk
2021-06-20 16:40:46 +03:00
parent 4912890dfc
commit eff62d5cfb
3 changed files with 7 additions and 3 deletions

View File

@ -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]),
]);
}

View File

@ -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]),
]);
}