mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix: Lint issues
This commit is contained in:
parent
044e0c857f
commit
6457948703
1 changed files with 3 additions and 3 deletions
|
@ -326,7 +326,7 @@ function getItems(instance, params, item, sortBy, startIndex, limit) {
|
||||||
const query = {
|
const query = {
|
||||||
StartIndex: startIndex,
|
StartIndex: startIndex,
|
||||||
Limit: limit,
|
Limit: limit,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName,Path,ChildCount,MediaSourceCount",
|
Fields: 'PrimaryImageAspectRatio,SortName,Path,ChildCount,MediaSourceCount',
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
ParentId: item.Id,
|
ParentId: item.Id,
|
||||||
SortBy: sortBy
|
SortBy: sortBy
|
||||||
|
@ -334,11 +334,11 @@ function getItems(instance, params, item, sortBy, startIndex, limit) {
|
||||||
|
|
||||||
if (sortBy === 'Random') {
|
if (sortBy === 'Random') {
|
||||||
instance.queryRecursive = true;
|
instance.queryRecursive = true;
|
||||||
query.IncludeItemTypes = "Video,Movie,Series,Music";
|
query.IncludeItemTypes = 'Video,Movie,Series,Music';
|
||||||
query.Recursive = true;
|
query.Recursive = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return apiClient.getItems(apiClient.getCurrentUserId(),modifyQueryWithFilters(instance, query));
|
return apiClient.getItems(apiClient.getCurrentUserId(), modifyQueryWithFilters(instance, query));
|
||||||
}
|
}
|
||||||
|
|
||||||
function getItem(params) {
|
function getItem(params) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue