mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove unneccessary .default
This commit is contained in:
parent
047e7df7b1
commit
f3cdedacdf
1 changed files with 8 additions and 8 deletions
|
@ -118,7 +118,7 @@ function reload(context, programId, serverId, refreshRecordingStateOnly) {
|
||||||
|
|
||||||
function executeCloseAction(action, programId, serverId) {
|
function executeCloseAction(action, programId, serverId) {
|
||||||
if (action === 'play') {
|
if (action === 'play') {
|
||||||
import('playbackManager').then(({default: playbackManager}) => {
|
import('playbackManager').then(({ default: playbackManager }) => {
|
||||||
const apiClient = connectionManager.getApiClient(serverId);
|
const apiClient = connectionManager.getApiClient(serverId);
|
||||||
|
|
||||||
apiClient.getLiveTvProgram(programId, apiClient.getCurrentUserId()).then(function (item) {
|
apiClient.getLiveTvProgram(programId, apiClient.getCurrentUserId()).then(function (item) {
|
||||||
|
@ -138,7 +138,7 @@ function showEditor(itemId, serverId) {
|
||||||
|
|
||||||
loading.show();
|
loading.show();
|
||||||
|
|
||||||
import('text!./recordingcreator.template.html').then(({default: template}) => {
|
import('text!./recordingcreator.template.html').then(({ default: template }) => {
|
||||||
const dialogOptions = {
|
const dialogOptions = {
|
||||||
removeOnClose: true,
|
removeOnClose: true,
|
||||||
scrollY: false
|
scrollY: false
|
||||||
|
@ -184,13 +184,13 @@ function showEditor(itemId, serverId) {
|
||||||
|
|
||||||
init(dlg);
|
init(dlg);
|
||||||
|
|
||||||
currentRecordingFields = new recordingFields.default({
|
currentRecordingFields = new recordingFields({
|
||||||
parent: dlg.querySelector('.recordingFields'),
|
parent: dlg.querySelector('.recordingFields'),
|
||||||
programId: itemId,
|
programId: itemId,
|
||||||
serverId: serverId
|
serverId: serverId
|
||||||
});
|
});
|
||||||
|
|
||||||
events.on(currentRecordingFields, 'recordingchanged', onRecordingChanged);
|
events.on(currentRecordingFields, 'recordingchanged', onRecordingChanged);
|
||||||
|
|
||||||
currentRecordingFields = new recordingFields({
|
currentRecordingFields = new recordingFields({
|
||||||
parent: dlg.querySelector('.recordingFields'),
|
parent: dlg.querySelector('.recordingFields'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue