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

Fix playback control issues with chromecast

This commit is contained in:
Sky-High 2023-10-19 13:05:56 +02:00 committed by Bill Thornton
parent 7df0ffcdfc
commit 108e00ac45
5 changed files with 125 additions and 66 deletions

View file

@ -1966,13 +1966,17 @@ export default function (view, params) {
selectedItem = item;
apiClient.getCurrentUser().then(function (user) {
itemContextMenu.show(getContextMenuOptions(selectedItem, user, button)).then(function (result) {
if (result.deleted) {
appRouter.goHome();
} else if (result.updated) {
reload(self, view, params);
}
});
itemContextMenu.show(getContextMenuOptions(selectedItem, user, button))
.then(function (result) {
if (result.deleted) {
appRouter.goHome();
} else if (result.updated) {
reload(self, view, params);
}
})
.catch(function(err) {
console.debug('[index:onMoreCommandsClick] reject', err);
});
});
});
}