« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/wiki-data.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/wiki-data.js b/src/util/wiki-data.js
index 41071d17..36c61454 100644
--- a/src/util/wiki-data.js
+++ b/src/util/wiki-data.js
@@ -159,7 +159,7 @@ export function getTotalDuration(tracks) {
 export function getTrackCover(track, {to}) {
     // Some al8ums don't have any track art at all, and in those, every track
     // just inherits the al8um's own cover art.
-    if (track.coverArtists === null) {
+    if (!track.hasCoverArt) {
         return getAlbumCover(track.album, {to});
     } else {
         return to('media.trackCover', track.album.directory, track.directory);