« get me outta code hell

content: gCAOriginDetails: contextualize w/ attached contribs - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-04-23 16:43:56 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-23 16:43:56 -0300
commit8f549d5873087bed9c6e1cc7ef40522b4010cefb (patch)
tree1743b0b5ada643f567826e26032edc70e851b63d /src/content
parenta93dc8c179ce5e0bf7e5b03a4e7946c38c6a213a (diff)
content: gCAOriginDetails: contextualize w/ attached contribs
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateCoverArtworkOriginDetails.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateCoverArtworkOriginDetails.js b/src/content/dependencies/generateCoverArtworkOriginDetails.js
index 896dd122..3908414f 100644
--- a/src/content/dependencies/generateCoverArtworkOriginDetails.js
+++ b/src/content/dependencies/generateCoverArtworkOriginDetails.js
@@ -15,8 +15,8 @@ export default {
       artwork.thing.constructor[Thing.referenceType],
 
     attachedArtistContribs:
-      (!artwork.isMainArtwork && artwork.mainArtwork && artwork.attachAbove
-        ? artwork.mainArtwork.artistContribs
+      (artwork.attachedArtwork
+        ? artwork.attachedArtwork.artistContribs
         : null)
   }),