diff options
Diffstat (limited to 'src/data/things.js')
-rw-r--r-- | src/data/things.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/data/things.js b/src/data/things.js index b48642a6..5889b119 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -609,9 +609,12 @@ Track.propertyDescriptors = { update: {validate: isBoolean}, expose: { - dependencies: ['albumData'], - transform: (hasCoverArt, { albumData, [Track.instance]: track }) => ( - hasCoverArt ?? Track.findAlbum(track, albumData)?.hasTrackArt ?? true) + dependencies: ['albumData', 'coverArtistContribsByRef'], + transform: (hasCoverArt, { albumData, coverArtistContribsByRef, [Track.instance]: track }) => ( + hasCoverArt ?? + (coverArtistContribsByRef?.length > 0 || null) ?? + Track.findAlbum(track, albumData)?.hasTrackArt ?? + true) } }, |