From ac4b8a49c6bed647811198eadb6b189dfa91d7b9 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 26 Jan 2026 18:29:42 -0400 Subject: content: generateArtistCredit: always pass showAnnotation through --- src/content/dependencies/generateArtistCredit.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/content') 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)) { -- cgit 1.3.0-6-gf8a5