diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-01-26 19:52:39 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-01-26 19:52:39 -0400 |
| commit | dc0d479d6698bf1db3f5181f48332da26ebd47f7 (patch) | |
| tree | 56822ab59d08474e1d6184a3b19aafcea4323a4d /src/content/dependencies/linkContribution.js | |
| parent | a8f36db5eac0a6ba89127ef393a68ffe94cf79a0 (diff) | |
data, content: Contribution.artistText preview
Diffstat (limited to 'src/content/dependencies/linkContribution.js')
| -rw-r--r-- | src/content/dependencies/linkContribution.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/content/dependencies/linkContribution.js b/src/content/dependencies/linkContribution.js index 46c07e5d..f9c27724 100644 --- a/src/content/dependencies/linkContribution.js +++ b/src/content/dependencies/linkContribution.js @@ -11,6 +11,7 @@ export default { }), data: (contribution) => ({ + artistText: contribution.artistText, annotationParts: contribution.annotationParts, urls: contribution.artist.urls, }), @@ -51,6 +52,12 @@ export default { chronologyKind: slots.chronologyKind, }); + if (data.artistText) { + relations.artistLink.setSlots({ + content: language.sanitize(data.artistText), + }); + } + workingOptions.artist = (html.isBlank(relations.tooltip) || slots.preventTooltip ? relations.artistLink |