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

Merge pull request #6184 from thornbill/playlist-editor

Add playlist editing
This commit is contained in:
Bill Thornton 2024-10-13 16:50:49 -04:00 committed by GitHub
commit 9c405e9360
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 179 additions and 29 deletions

View file

@ -582,11 +582,13 @@ function reloadFromItem(instance, page, params, item, user) {
page.querySelector('.btnSplitVersions').classList.add('hide');
}
if (itemContextMenu.getCommands(getContextMenuOptions(item, user)).length) {
hideAll(page, 'btnMoreCommands', true);
} else {
hideAll(page, 'btnMoreCommands');
}
itemContextMenu.getCommands(getContextMenuOptions(item, user)).then(commands => {
if (commands.length) {
hideAll(page, 'btnMoreCommands', true);
} else {
hideAll(page, 'btnMoreCommands');
}
});
const itemBirthday = page.querySelector('#itemBirthday');