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
|
@ -10,6 +10,7 @@ import loading from '../loading/loading';
|
|||
import { appHost } from '../apphost';
|
||||
import * as Screenfull from 'screenfull';
|
||||
import ServerConnections from '../ServerConnections';
|
||||
import alert from '../alert';
|
||||
|
||||
function enableLocalPlaylistManagement(player) {
|
||||
if (player.getPlaylist) {
|
||||
|
@ -648,11 +649,9 @@ function validatePlaybackInfoResult(instance, result) {
|
|||
}
|
||||
|
||||
function showPlaybackInfoErrorMessage(instance, errorCode) {
|
||||
import('../alert').then(({ default: alert }) => {
|
||||
alert({
|
||||
text: globalize.translate(errorCode),
|
||||
title: globalize.translate('HeaderPlaybackError')
|
||||
});
|
||||
alert({
|
||||
text: globalize.translate(errorCode),
|
||||
title: globalize.translate('HeaderPlaybackError')
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue