mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework collection editor
This commit is contained in:
parent
39d4daa2fb
commit
0e1c7cbb7a
21 changed files with 436 additions and 402 deletions
|
@ -1375,8 +1375,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (BoxSetEditor.supportsAddingToCollection(item)) {
|
||||
itemCommands.push('addtocollection');
|
||||
if (options.showAddToCollection !== false) {
|
||||
if (BoxSetEditor.supportsAddingToCollection(item)) {
|
||||
itemCommands.push('addtocollection');
|
||||
}
|
||||
}
|
||||
|
||||
if (options.showRemoveFromCollection) {
|
||||
itemCommands.push('removefromcollection');
|
||||
}
|
||||
|
||||
if (options.playFromHere) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue