« get me outta code hell

content, css: generateCoverArtwork: 'primary-artists' mode - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateTrackCoverArtwork.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-17 15:55:28 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-17 16:35:31 -0400
commitc656395edea65e6eead8e3cbe1a9ecb067ad5ef6 (patch)
tree28642821ef167c2ac301b72cf85bbaefdcf7bde2 /src/content/dependencies/generateTrackCoverArtwork.js
parentd3a0e1b52aef93e3f74e557229e93a0a123c3e4b (diff)
content, css: generateCoverArtwork: 'primary-artists' mode
Diffstat (limited to 'src/content/dependencies/generateTrackCoverArtwork.js')
-rw-r--r--src/content/dependencies/generateTrackCoverArtwork.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/generateTrackCoverArtwork.js b/src/content/dependencies/generateTrackCoverArtwork.js
index a241eaf2..df4e37a4 100644
--- a/src/content/dependencies/generateTrackCoverArtwork.js
+++ b/src/content/dependencies/generateTrackCoverArtwork.js
@@ -6,7 +6,10 @@ export default {
       relation('generateCoverArtwork',
         (track.hasUniqueCoverArt
           ? track.artTags
-          : track.album.artTags)),
+          : track.album.artTags),
+        (track.hasUniqueCoverArt
+          ? track.coverArtistContribs
+          : track.album.coverArtistContribs)),
   }),
 
   data: (track) => ({