mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix music videos on artist and album page
This commit is contained in:
parent
f8db818be2
commit
025ec66174
2 changed files with 3 additions and 3 deletions
|
@ -1795,7 +1795,7 @@ function renderMusicVideos(page, item, user) {
|
|||
}).then(function (result) {
|
||||
if (result.Items.length) {
|
||||
page.querySelector('#musicVideosCollapsible').classList.remove('hide');
|
||||
const musicVideosContent = page.querySelector('.musicVideosContent');
|
||||
const musicVideosContent = page.querySelector('#musicVideosContent');
|
||||
musicVideosContent.innerHTML = getVideosHtml(result.Items);
|
||||
imageLoader.lazyChildren(musicVideosContent);
|
||||
} else {
|
||||
|
|
|
@ -146,7 +146,7 @@ function renderSection(page, item, element, type) {
|
|||
Limit: 10,
|
||||
SortBy: 'SortName'
|
||||
}, {
|
||||
shape: 'overflowPortrait',
|
||||
shape: 'overflowBackdrop',
|
||||
showTitle: true,
|
||||
centerText: true,
|
||||
overlayPlayButton: true
|
||||
|
@ -327,7 +327,7 @@ function addCurrentItemToQuery(query, item) {
|
|||
} else if (item.Type === 'Studio') {
|
||||
query.StudioIds = item.Id;
|
||||
} else if (item.Type === 'MusicArtist') {
|
||||
query.AlbumArtistIds = item.Id;
|
||||
query.ArtistIds = item.Id;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue