From 0da8f4eb85f80512d3ee3c73d092263f8bf6293f Mon Sep 17 00:00:00 2001 From: vitorsemeano Date: Sun, 8 Nov 2020 19:39:03 +0000 Subject: [PATCH] fixed multiple default imports missing Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- src/components/nowPlayingBar/nowPlayingBar.js | 2 +- src/components/remotecontrol/remotecontrol.js | 2 +- src/controllers/itemDetails/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js index fc6624410e..ee51776ce0 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.js +++ b/src/components/nowPlayingBar/nowPlayingBar.js @@ -1,7 +1,7 @@ import datetime from '../../scripts/datetime'; import { Events } from 'jellyfin-apiclient'; import browser from '../../scripts/browser'; -import imageLoader from '../../scripts/imagehelper'; +import imageLoader from '../images/imageLoader'; import layoutManager from '../layoutManager'; import { playbackManager } from '../playback/playbackmanager'; import nowPlayingHelper from '../playback/nowplayinghelper'; diff --git a/src/components/remotecontrol/remotecontrol.js b/src/components/remotecontrol/remotecontrol.js index 007f8a3eb2..3ed0444651 100644 --- a/src/components/remotecontrol/remotecontrol.js +++ b/src/components/remotecontrol/remotecontrol.js @@ -696,7 +696,7 @@ export default function () { } function savePlaylist() { - import('../playlisteditor/playlisteditor').then((playlistEditor) => { + import('../playlisteditor/playlisteditor').then(({ default: playlistEditor }) => { getSaveablePlaylistItems().then(function (items) { const serverId = items.length ? items[0].ServerId : ApiClient.serverId(); new playlistEditor({ diff --git a/src/controllers/itemDetails/index.js b/src/controllers/itemDetails/index.js index 18d03166d3..d4e41a7f04 100644 --- a/src/controllers/itemDetails/index.js +++ b/src/controllers/itemDetails/index.js @@ -1958,7 +1958,7 @@ export default function (view, params) { } function onDownloadClick() { - import('../../scripts/fileDownloader').then(({ default: fileDownloader }) => { + import('../../scripts/fileDownloader').then((fileDownloader) => { const downloadHref = getApiClient().getItemDownloadUrl(currentItem.Id); fileDownloader.download([{ url: downloadHref,