mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
apply suggestion
This commit is contained in:
parent
b7d9dba32f
commit
09fe6b4d3b
3 changed files with 5 additions and 5 deletions
|
@ -168,8 +168,8 @@ import 'flexStyles';
|
|||
|
||||
export function show(itemId, serverId) {
|
||||
loading.show();
|
||||
return new Promise((resolve, reject) => {
|
||||
import('text!./itemMediaInfo.template.html').then(({default: template}) => {
|
||||
return import('text!./itemMediaInfo.template.html').then(({default: template}) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
loadMediaInfo(itemId, serverId, template).then(resolve, reject);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue