mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix multiple import defaults missing
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
366fa21408
commit
2a3ade9bb9
10 changed files with 22 additions and 23 deletions
|
@ -22,7 +22,7 @@ let currentServerId;
|
|||
let currentResolve;
|
||||
|
||||
function deleteTimer(apiClient, timerId) {
|
||||
return import('./recordinghelper').then((recordingHelper) => {
|
||||
return import('./recordinghelper').then(({ default: recordingHelper }) => {
|
||||
recordingHelper.cancelTimerWithConfirmation(timerId, apiClient.serverId());
|
||||
});
|
||||
}
|
||||
|
|
|
@ -182,7 +182,7 @@ function onManageSeriesRecordingClick(e) {
|
|||
|
||||
const self = this;
|
||||
|
||||
import('./seriesrecordingeditor').then((seriesRecordingEditor) => {
|
||||
import('./seriesrecordingeditor').then(({default: seriesRecordingEditor}) => {
|
||||
seriesRecordingEditor.show(self.SeriesTimerId, options.serverId, {
|
||||
|
||||
enableCancel: false
|
||||
|
|
|
@ -26,7 +26,7 @@ let currentServerId;
|
|||
|
||||
function deleteTimer(apiClient, timerId) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
import('./recordinghelper').then((recordingHelper) => {
|
||||
import('./recordinghelper').then(({ default: recordingHelper }) => {
|
||||
recordingHelper.cancelSeriesTimerWithConfirmation(timerId, apiClient.serverId()).then(resolve, reject);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue