diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js index e71de45a6b..d80a67e063 100644 --- a/dashboard-ui/scripts/itemdetailpage.js +++ b/dashboard-ui/scripts/itemdetailpage.js @@ -298,9 +298,7 @@ var section = page.querySelector('.nextUpSection'); - var userData = item.UserData || {}; - - if (item.Type != 'Series' || !userData.PlayedPercentage) { + if (item.Type != 'Series') { section.classList.add('hide'); return; } @@ -500,7 +498,7 @@ } var artist = page.querySelectorAll('.artist'); - for (i = 0, length = itemMiscInfo.length; i < length; i++) { + for (i = 0, length = artist.length; i < length; i++) { if (item.ArtistItems && item.ArtistItems.length && item.Type != "MusicAlbum") { artist[i].classList.remove('hide'); artist[i].innerHTML = getArtistLinksHtml(item.ArtistItems, context);