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
8 changed files with 179 additions and 29 deletions
+7 -5
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');