mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove missed require
This commit is contained in:
parent
5de2498f12
commit
b1c96575f2
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ import dialogHelper from 'dialogHelper';
|
|||
import globalize from 'globalize';
|
||||
import layoutManager from 'layoutManager';
|
||||
import connectionManager from 'connectionManager';
|
||||
import require from 'require';
|
||||
import loading from 'loading';
|
||||
import scrollHelper from 'scrollHelper';
|
||||
import 'scrollStyles';
|
||||
|
@ -91,7 +90,7 @@ function showEditor(itemId, serverId, options) {
|
|||
options = options || {};
|
||||
currentResolve = resolve;
|
||||
|
||||
require(['text!./recordingeditor.template.html'], function (template) {
|
||||
import('text!./recordingeditor.template.html').then(({default: template}) => {
|
||||
const dialogOptions = {
|
||||
removeOnClose: true,
|
||||
scrollY: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue