« get me outta code hell

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:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateArtistCredit.js16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/content/dependencies/generateArtistCredit.js b/src/content/dependencies/generateArtistCredit.js
index 7640c8b9..35603610 100644
--- a/src/content/dependencies/generateArtistCredit.js
+++ b/src/content/dependencies/generateArtistCredit.js
@@ -121,27 +121,13 @@ export default {
       ...relations.featuringContributionLinks,
     ]) {
       link.setSlots({
+        showAnnotation: slots.showAnnotation,
         showExternalLinks: slots.showExternalLinks,
         showChronology: slots.showChronology,
         chronologyKind: slots.chronologyKind,
       });
     }
 
-    for (const link of relations.normalContributionLinks) {
-      link.setSlots({
-        showAnnotation: slots.showAnnotation,
-      });
-    }
-
-    for (const link of relations.featuringContributionLinks) {
-      link.setSlots({
-        showAnnotation:
-          (slots.featuringStringKey || slots.normalFeaturingStringKey
-            ? false
-            : slots.showAnnotation),
-      });
-    }
-
     let formattedArtistList = null;
 
     if (!html.isBlank(relations.formatText)) {