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

Add playlist editing

This commit is contained in:
Bill Thornton 2024-09-23 14:42:08 -04:00
parent 9a192c7e5c
commit 363171b56d
6 changed files with 143 additions and 27 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');