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
|
@ -5,6 +5,7 @@ import globalize from '../../scripts/globalize';
|
|||
import { Events } from 'jellyfin-apiclient';
|
||||
import castSenderApiLoader from '../../components/castSenderApi';
|
||||
import ServerConnections from '../../components/ServerConnections';
|
||||
import alert from '../../components/alert';
|
||||
|
||||
// Based on https://github.com/googlecast/CastVideos-chrome/blob/master/CastVideos.js
|
||||
|
||||
|
@ -440,11 +441,9 @@ class CastPlayer {
|
|||
}
|
||||
|
||||
function alertText(text, title) {
|
||||
import('../../components/alert').then(({default: alert}) => {
|
||||
alert({
|
||||
text: text,
|
||||
title: title
|
||||
});
|
||||
alert({
|
||||
text,
|
||||
title
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue