1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

apply suggestion

This commit is contained in:
grafixeyehero 2020-06-13 17:44:54 +03:00
parent b7d9dba32f
commit 09fe6b4d3b
3 changed files with 5 additions and 5 deletions

View file

@ -141,7 +141,7 @@ import 'css!./style';
options = options || {}; options = options || {};
import('text!./imageUploader.template.html').then(({default: template}) => { return import('text!./imageUploader.template.html').then(({default: template}) => {
currentItemId = options.itemId; currentItemId = options.itemId;
currentServerId = options.serverId; currentServerId = options.serverId;

View file

@ -168,8 +168,8 @@ import 'flexStyles';
export function show(itemId, serverId) { export function show(itemId, serverId) {
loading.show(); loading.show();
return new Promise((resolve, reject) => { return import('text!./itemMediaInfo.template.html').then(({default: template}) => {
import('text!./itemMediaInfo.template.html').then(({default: template}) => { return new Promise((resolve, reject) => {
loadMediaInfo(itemId, serverId, template).then(resolve, reject); loadMediaInfo(itemId, serverId, template).then(resolve, reject);
}); });
}); });

View file

@ -357,7 +357,7 @@ import 'cardStyle';
loading.show(); loading.show();
import('text!./itemidentifier.template.html').then(({default: template}) => { return import('text!./itemidentifier.template.html').then(({default: template}) => {
const apiClient = getApiClient(); const apiClient = getApiClient();
@ -446,7 +446,7 @@ import 'cardStyle';
currentItem = null; currentItem = null;
currentItemType = itemType; currentItemType = itemType;
import('text!./itemidentifier.template.html').then(({default: template}) => { return import('text!./itemidentifier.template.html').then(({default: template}) => {
const dialogOptions = { const dialogOptions = {
size: 'small', size: 'small',