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
|
@ -17,6 +17,7 @@ import '../formdialog.css';
|
|||
import '../../assets/css/clearbutton.css';
|
||||
import '../../assets/css/flexstyles.css';
|
||||
import ServerConnections from '../ServerConnections';
|
||||
import toast from '../toast/toast';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -36,9 +37,7 @@ import ServerConnections from '../ServerConnections';
|
|||
|
||||
function submitUpdatedItem(form, item) {
|
||||
function afterContentTypeUpdated() {
|
||||
import('../toast/toast').then(({default: toast}) => {
|
||||
toast(globalize.translate('MessageItemSaved'));
|
||||
});
|
||||
toast(globalize.translate('MessageItemSaved'));
|
||||
|
||||
loading.hide();
|
||||
closeDialog(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue