1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix recording icons

This commit is contained in:
Luke Pulverenti 2015-11-13 23:19:05 -05:00
parent a919223fb2
commit 663412b891
14 changed files with 100 additions and 60 deletions

View file

@ -38,7 +38,6 @@
SortBy: "SortName",
SortOrder: "Ascending",
Filters: "IsFavorite",
Limit: screenWidth >= 1920 ? 10 : (screenWidth >= 1440 ? 8 : 6),
Recursive: true,
Fields: "PrimaryImageAspectRatio,SyncInfo",
CollapseBoxSetItems: false,
@ -49,8 +48,12 @@
options.ParentId = topParentId;
}
if (isSingleSection) {
options.Limit = null;
if (!isSingleSection) {
options.Limit = screenWidth >= 1920 ? 10 : (screenWidth >= 1440 ? 8 : 6);
if (enableScrollX()) {
options.Limit = 12;
}
}
var promise;