mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
unify sync components
This commit is contained in:
parent
55b5cebda5
commit
db403c3cd4
21 changed files with 447 additions and 279 deletions
|
@ -16,6 +16,11 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter',
|
|||
|
||||
var commands = [];
|
||||
|
||||
if (itemHelper.isLocalItem(item)) {
|
||||
|
||||
return commands;
|
||||
}
|
||||
|
||||
if (itemHelper.supportsAddingToCollection(item)) {
|
||||
commands.push({
|
||||
name: globalize.translate('sharedcomponents#AddToCollection'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue