mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-20 04:18:19 -07:00
apply suggestion
This commit is contained in:
parent
cf1ca53f9c
commit
857c1d8e2a
@ -92,8 +92,8 @@ import 'emby-input';
|
||||
export class editor {
|
||||
constructor() {
|
||||
this.show = (itemType, options, availableOptions) => {
|
||||
return import('text!./components/imageOptionsEditor/imageOptionsEditor.template.html').then(({default: template}) => {
|
||||
return new Promise((resolve) => {
|
||||
import('text!./components/imageOptionsEditor/imageOptionsEditor.template.html').then(({default: template}) => {
|
||||
const dlg = dialogHelper.createDialog({
|
||||
size: 'small',
|
||||
removeOnClose: true,
|
||||
|
@ -364,8 +364,8 @@ import 'emby-input';
|
||||
currentAvailableOptions = null;
|
||||
const isNewLibrary = null === libraryOptions;
|
||||
isNewLibrary && parent.classList.add('newlibrary');
|
||||
return import('text!./libraryoptionseditor.template.html').then(({default: template}) => {
|
||||
return new Promise((resolve) => {
|
||||
import('text!./libraryoptionseditor.template.html').then(({default: template}) => {
|
||||
parent.innerHTML = globalize.translateDocument(template);
|
||||
populateRefreshInterval(parent.querySelector('#selectAutoRefreshInterval'));
|
||||
const promises = [populateLanguages(parent), populateCountries(parent.querySelector('#selectCountry'))];
|
||||
|
Loading…
Reference in New Issue
Block a user