mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sync objects
This commit is contained in:
parent
f603085007
commit
ebe849f9b0
37 changed files with 231 additions and 86 deletions
|
@ -26,11 +26,7 @@
|
|||
// Chrome seems to have virtualization built-in and can handle large lists easily
|
||||
var isChrome = $.browser.chrome;
|
||||
|
||||
if (getWindowUrl().toString().toLowerCase().indexOf('localhost') != -1) {
|
||||
return isChrome ? 200 : 100;
|
||||
}
|
||||
|
||||
return isChrome ? 100 : 50;
|
||||
return isChrome ? 200 : 100;
|
||||
},
|
||||
|
||||
getDefaultItemsView: function (view, mobileView) {
|
||||
|
@ -345,6 +341,10 @@
|
|||
|
||||
commands.push('refresh');
|
||||
|
||||
if (SyncManager.isAvailable(item)) {
|
||||
commands.push('sync');
|
||||
}
|
||||
|
||||
return commands;
|
||||
},
|
||||
|
||||
|
@ -924,6 +924,10 @@
|
|||
itemCommands.push('delete');
|
||||
}
|
||||
|
||||
if (SyncManager.isAvailable(item)) {
|
||||
itemCommands.push('sync');
|
||||
}
|
||||
|
||||
return itemCommands;
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue