Skip to content

Commit

Permalink
Fix: Show album from song details modal #1167
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Nov 10, 2023
1 parent 7486089 commit 82ad2c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/js/modalSongDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ function parseSongDetails(obj) {
const td = elCreateEmpty('td', {});
setData(td, 'tag', settings.tagList[i]);
setData(td, 'name', obj.result[settings.tagList[i]]);
if (settings.tagList[i] === 'Album' && obj.result[tagAlbumArtist] !== null) {
setData(td, 'AlbumArtist', obj.result[tagAlbumArtist]);
if (settings.tagList[i] === 'Album') {
setData(td, 'AlbumId', obj.result.AlbumId);
}
if (settings.tagListBrowse.includes(settings.tagList[i]) &&
isEmptyTag(obj.result[settings.tagList[i]]) === false)
Expand Down

0 comments on commit 82ad2c0

Please sign in to comment.