diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-01-26 18:29:42 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-01-26 18:29:42 -0400 |
| commit | ac4b8a49c6bed647811198eadb6b189dfa91d7b9 (patch) | |
| tree | 3cf610785273397f97d3a80db3a25398f7930f52 /src | |
| parent | 69e2ecc32d5dd408f3743bb7d10afbd0fe15c96f (diff) | |
content: generateArtistCredit: always pass showAnnotation through
Diffstat (limited to 'src')
| -rw-r--r-- | src/content/dependencies/generateArtistCredit.js | 16 |
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)) { |