mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
solved imports for alert, toast and confirm
This commit is contained in:
parent
4b42afcd7a
commit
86a9f4e36f
49 changed files with 417 additions and 550 deletions
|
@ -7,6 +7,7 @@ import '../../../elements/emby-input/emby-input';
|
|||
import '../../../elements/emby-checkbox/emby-checkbox';
|
||||
import '../../../components/listview/listview.css';
|
||||
import Dashboard from '../../../scripts/clientUtils';
|
||||
import toast from '../../../components/toast/toast';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -634,9 +635,7 @@ import Dashboard from '../../../scripts/clientUtils';
|
|||
data: JSON.stringify(profile),
|
||||
contentType: 'application/json'
|
||||
}).then(function () {
|
||||
import('../../../components/toast/toast').then((toast) => {
|
||||
toast('Settings saved.');
|
||||
});
|
||||
toast('Settings saved.');
|
||||
}, Dashboard.processErrorResponse);
|
||||
} else {
|
||||
ApiClient.ajax({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue