mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add Add to collection buttons
This commit is contained in:
parent
9b452f3b53
commit
218e086d94
19 changed files with 481 additions and 214 deletions
|
@ -908,13 +908,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (BoxSetEditor.supportsAddingToCollection(item)) {
|
||||
itemCommands.push('addtocollection');
|
||||
}
|
||||
|
||||
if (options.playFromHere) {
|
||||
itemCommands.push('playfromhere');
|
||||
itemCommands.push('queuefromhere');
|
||||
}
|
||||
|
||||
// There's no detail page with a dedicated delete function
|
||||
if (item.Type == 'Playlist') {
|
||||
if (item.Type == 'Playlist' || item.Type == 'BoxSet') {
|
||||
itemCommands.push('delete');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue