mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix metadata editor dialog display
This commit is contained in:
parent
47d5b0eb2d
commit
54bafa5dcc
1 changed files with 4 additions and 4 deletions
|
@ -1087,10 +1087,10 @@ import template from './metadataEditor.template.html';
|
|||
}
|
||||
|
||||
export default {
|
||||
show: function (itemId, serverId) {
|
||||
return new Promise(function (resolve) {
|
||||
return show(itemId, serverId, resolve);
|
||||
});
|
||||
show: async function (itemId, serverId) {
|
||||
const apiClient = ServerConnections.getApiClient(serverId);
|
||||
await apiClient.getItem(apiClient.getCurrentUserId(), itemId);
|
||||
return new Promise(resolve => show(itemId, serverId, resolve));
|
||||
},
|
||||
|
||||
embed: function (elem, itemId, serverId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue