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 = {
|
||||
StartIndex: startIndex,
|
||||
Limit: limit,
|
||||
Fields: "PrimaryImageAspectRatio,SortName,Path,ChildCount,MediaSourceCount",
|
||||
Fields: 'PrimaryImageAspectRatio,SortName,Path,ChildCount,MediaSourceCount',
|
||||
ImageTypeLimit: 1,
|
||||
ParentId: item.Id,
|
||||
SortBy: sortBy
|
||||
|
@ -334,11 +334,11 @@ function getItems(instance, params, item, sortBy, startIndex, limit) {
|
|||
|
||||
if (sortBy === 'Random') {
|
||||
instance.queryRecursive = true;
|
||||
query.IncludeItemTypes = "Video,Movie,Series,Music";
|
||||
query.IncludeItemTypes = 'Video,Movie,Series,Music';
|
||||
query.Recursive = true;
|
||||
}
|
||||
|
||||
return apiClient.getItems(apiClient.getCurrentUserId(),modifyQueryWithFilters(instance, query));
|
||||
return apiClient.getItems(apiClient.getCurrentUserId(), modifyQueryWithFilters(instance, query));
|
||||
}
|
||||
|
||||
function getItem(params) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue