mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
fix artist detail page
This commit is contained in:
parent
9d39c1e3ee
commit
8eddeea1a9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user