fixed multiple default imports missing
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
b2fb40e23b
commit
2243b35311
8 changed files with 8 additions and 8 deletions
|
@ -570,7 +570,7 @@ import toast from './toast/toast';
|
|||
recordingEditor.show(item.Id, serverId).then(resolve, reject);
|
||||
});
|
||||
} else if (item.Type === 'SeriesTimer') {
|
||||
import('./recordingcreator/seriesrecordingeditor').then((recordingEditor) => {
|
||||
import('./recordingcreator/seriesrecordingeditor').then(({default: recordingEditor}) => {
|
||||
recordingEditor.show(item.Id, serverId).then(resolve, reject);
|
||||
});
|
||||
} else {
|
||||
|
|
|
@ -3190,7 +3190,7 @@ class PlaybackManager {
|
|||
};
|
||||
|
||||
if (appHost.supports('remotecontrol')) {
|
||||
import('../../scripts/serverNotifications').then((serverNotifications) => {
|
||||
import('../../scripts/serverNotifications').then(({ default: serverNotifications }) => {
|
||||
Events.on(serverNotifications, 'ServerShuttingDown', self.setDefaultPlayerActive.bind(self));
|
||||
Events.on(serverNotifications, 'ServerRestarting', self.setDefaultPlayerActive.bind(self));
|
||||
});
|
||||
|
|
|
@ -164,7 +164,7 @@ function onManageRecordingClick(e) {
|
|||
}
|
||||
|
||||
const self = this;
|
||||
import('./recordingeditor').then((recordingEditor) => {
|
||||
import('./recordingeditor').then(({default: recordingEditor}) => {
|
||||
recordingEditor.show(self.TimerId, options.serverId, {
|
||||
enableCancel: false
|
||||
}).then(function () {
|
||||
|
|
|
@ -7,7 +7,7 @@ import { Events } from 'jellyfin-apiclient';
|
|||
import { playbackManager } from '../playback/playbackmanager';
|
||||
import timeSyncManager from './timeSyncManager';
|
||||
import toast from '../toast/toast';
|
||||
import globalize from '../../scripts//globalize';
|
||||
import globalize from '../../scripts/globalize';
|
||||
import ServerConnections from '../ServerConnections';
|
||||
|
||||
/**
|
||||
|
|
|
@ -145,7 +145,7 @@ export default function (page, providerId, options) {
|
|||
function onSelectPathClick(e) {
|
||||
const page = $(e.target).parents('.xmltvForm')[0];
|
||||
|
||||
import('../directorybrowser/directorybrowser').then((directoryBrowser) => {
|
||||
import('../directorybrowser/directorybrowser').then(({default: directoryBrowser}) => {
|
||||
const picker = new directoryBrowser();
|
||||
picker.show({
|
||||
includeFiles: true,
|
||||
|
|
|
@ -72,7 +72,7 @@ import confirm from '../../components/confirm/confirm';
|
|||
}
|
||||
|
||||
function renameVirtualFolder(page, virtualFolder) {
|
||||
import('../../components/prompt/prompt').then((prompt) => {
|
||||
import('../../components/prompt/prompt').then(({default: prompt}) => {
|
||||
prompt({
|
||||
label: globalize.translate('LabelNewName'),
|
||||
confirmText: globalize.translate('ButtonRename')
|
||||
|
|
|
@ -5,7 +5,7 @@ function reload(context, itemId) {
|
|||
loading.show();
|
||||
|
||||
if (itemId) {
|
||||
import('../components/metadataEditor/metadataEditor').then((metadataEditor) => {
|
||||
import('../components/metadataEditor/metadataEditor').then(({ default: metadataEditor }) => {
|
||||
metadataEditor.embed(context.querySelector('.editPageInnerContent'), itemId, ApiClient.serverInfo().Id);
|
||||
});
|
||||
} else {
|
||||
|
|
|
@ -103,7 +103,7 @@ function submitForm(page) {
|
|||
}
|
||||
|
||||
function getDetectedDevice() {
|
||||
return import('../components/tunerPicker').then((tunerPicker) => {
|
||||
return import('../components/tunerPicker').then(({default: tunerPicker}) => {
|
||||
return new tunerPicker().show({
|
||||
serverId: ApiClient.serverId()
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue