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:
parent
9a192c7e5c
commit
363171b56d
6 changed files with 143 additions and 27 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue