« get me outta code hell

content: generateArtistCredit: show featuring annotation sometimes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-08-17 16:35:35 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-08-17 16:35:35 -0300
commit6285a05944eef6426b02ff4e16663dcbe3d5a8e6 (patch)
treedfb1968b6a5b9cae0ddd5997ad5d035aeb2ee23f /src
parent276700414846030fdd6f66be5dca99e8ee805119 (diff)
content: generateArtistCredit: show featuring annotation sometimes
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateArtistCredit.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtistCredit.js b/src/content/dependencies/generateArtistCredit.js
index e9af9cc5..196b5f32 100644
--- a/src/content/dependencies/generateArtistCredit.js
+++ b/src/content/dependencies/generateArtistCredit.js
@@ -110,7 +110,10 @@ export default {
 
     for (const link of relations.featuringContributionLinks) {
       link.setSlots({
-        showAnnotation: false,
+        showAnnotation:
+          (slots.featuringStringKey
+            ? false
+            : slots.showAnnotation),
       });
     }