mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix artist detail page
This commit is contained in:
parent
9d39c1e3ee
commit
8eddeea1a9
1 changed files with 2 additions and 4 deletions
|
@ -298,9 +298,7 @@
|
||||||
|
|
||||||
var section = page.querySelector('.nextUpSection');
|
var section = page.querySelector('.nextUpSection');
|
||||||
|
|
||||||
var userData = item.UserData || {};
|
if (item.Type != 'Series') {
|
||||||
|
|
||||||
if (item.Type != 'Series' || !userData.PlayedPercentage) {
|
|
||||||
section.classList.add('hide');
|
section.classList.add('hide');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -500,7 +498,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var artist = page.querySelectorAll('.artist');
|
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") {
|
if (item.ArtistItems && item.ArtistItems.length && item.Type != "MusicAlbum") {
|
||||||
artist[i].classList.remove('hide');
|
artist[i].classList.remove('hide');
|
||||||
artist[i].innerHTML = getArtistLinksHtml(item.ArtistItems, context);
|
artist[i].innerHTML = getArtistLinksHtml(item.ArtistItems, context);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue