diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-14 21:52:03 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-14 22:27:32 -0300 |
commit | 9332da311819d4ec9fa19b327271e3fab1dc49e8 (patch) | |
tree | 049e796b7b0e8f64aa4ad9efc2043a598ce8e645 /src/util | |
parent | fa834b03fcc1cc65dcb299fe8a5ef55bc5426c1e (diff) |
data: remove 'Has Track Art', compute from credits
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/wiki-data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/wiki-data.js b/src/util/wiki-data.js index 97a3f3e5..6930496f 100644 --- a/src/util/wiki-data.js +++ b/src/util/wiki-data.js @@ -715,7 +715,7 @@ export function getTrackCover(track, {to}) { // just inherits the album's own cover art. Note that since cover art isn't // guaranteed on albums either, it's possible that this function returns // null! - if (!track.hasCoverArt) { + if (!track.hasUniqueCoverArt) { return getAlbumCover(track.album, {to}); } else { return to('media.trackCover', track.album.directory, track.directory, track.coverArtFileExtension); |