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

Use "private" close event for dialog helper race condition

This commit is contained in:
Bill Thornton 2022-06-09 01:03:03 -04:00
parent 54bafa5dcc
commit c1739c4b7f
2 changed files with 8 additions and 5 deletions

View file

@ -1087,9 +1087,7 @@ import template from './metadataEditor.template.html';
}
export default {
show: async function (itemId, serverId) {
const apiClient = ServerConnections.getApiClient(serverId);
await apiClient.getItem(apiClient.getCurrentUserId(), itemId);
show: function (itemId, serverId) {
return new Promise(resolve => show(itemId, serverId, resolve));
},