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

linting issue

This commit is contained in:
dkanada 2020-08-31 18:06:53 +09:00 committed by GitHub
parent 734b3dd382
commit 0be0faa0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1340,7 +1340,7 @@ function renderChildren(page, item) {
const equalSet = (arr1, arr2) => arr1.every(x => arr2.indexOf(x) !== -1) && arr1.length === arr2.length;
let showArtist = false;
for (const track of result.Items) {
if (!equalSet(track.ArtistItems.map(x => x.Id), track.AlbumArtists.map(x => x.Id) )) {
if (!equalSet(track.ArtistItems.map(x => x.Id), track.AlbumArtists.map(x => x.Id))) {
showArtist = true;
break;
}