mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed linting errors.
This commit is contained in:
parent
f1bc4b2009
commit
1ac161c82c
1 changed files with 3 additions and 3 deletions
|
@ -1633,9 +1633,9 @@ function inferContext(item) {
|
|||
}
|
||||
|
||||
function filterItemsByCollectionItemType(items, typeInfo) {
|
||||
let filteredItems = [];
|
||||
let leftoverItems = [];
|
||||
items.forEach(function(item){
|
||||
const filteredItems = [];
|
||||
const leftoverItems = [];
|
||||
items.forEach(function(item) {
|
||||
if ((typeInfo.mediaType && item.MediaType == typeInfo.mediaType) || (item.Type == typeInfo.type)) {
|
||||
filteredItems.push(item);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue