mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove useless abstractions and hardcoded text for toasts
This commit is contained in:
parent
5d76722a27
commit
3272d12f64
6 changed files with 10 additions and 20 deletions
|
@ -635,7 +635,7 @@ import toast from '../../../components/toast/toast';
|
|||
data: JSON.stringify(profile),
|
||||
contentType: 'application/json'
|
||||
}).then(function () {
|
||||
toast('Settings saved.');
|
||||
toast(globalize.translate('SettingsSaved'));
|
||||
}, Dashboard.processErrorResponse);
|
||||
} else {
|
||||
ApiClient.ajax({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue