fixed multiple default imports missing
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
5b5d6a45b0
commit
0da8f4eb85
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
import datetime from '../../scripts/datetime';
|
import datetime from '../../scripts/datetime';
|
||||||
import { Events } from 'jellyfin-apiclient';
|
import { Events } from 'jellyfin-apiclient';
|
||||||
import browser from '../../scripts/browser';
|
import browser from '../../scripts/browser';
|
||||||
import imageLoader from '../../scripts/imagehelper';
|
import imageLoader from '../images/imageLoader';
|
||||||
import layoutManager from '../layoutManager';
|
import layoutManager from '../layoutManager';
|
||||||
import { playbackManager } from '../playback/playbackmanager';
|
import { playbackManager } from '../playback/playbackmanager';
|
||||||
import nowPlayingHelper from '../playback/nowplayinghelper';
|
import nowPlayingHelper from '../playback/nowplayinghelper';
|
||||||
|
|
|
@ -696,7 +696,7 @@ export default function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function savePlaylist() {
|
function savePlaylist() {
|
||||||
import('../playlisteditor/playlisteditor').then((playlistEditor) => {
|
import('../playlisteditor/playlisteditor').then(({ default: playlistEditor }) => {
|
||||||
getSaveablePlaylistItems().then(function (items) {
|
getSaveablePlaylistItems().then(function (items) {
|
||||||
const serverId = items.length ? items[0].ServerId : ApiClient.serverId();
|
const serverId = items.length ? items[0].ServerId : ApiClient.serverId();
|
||||||
new playlistEditor({
|
new playlistEditor({
|
||||||
|
|
|
@ -1958,7 +1958,7 @@ export default function (view, params) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onDownloadClick() {
|
function onDownloadClick() {
|
||||||
import('../../scripts/fileDownloader').then(({ default: fileDownloader }) => {
|
import('../../scripts/fileDownloader').then((fileDownloader) => {
|
||||||
const downloadHref = getApiClient().getItemDownloadUrl(currentItem.Id);
|
const downloadHref = getApiClient().getItemDownloadUrl(currentItem.Id);
|
||||||
fileDownloader.download([{
|
fileDownloader.download([{
|
||||||
url: downloadHref,
|
url: downloadHref,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue