« get me outta code hell

content: consider language order for tooltip offset - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateContributionList.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-11-04 10:10:19 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-11-04 10:10:19 -0400
commit39de107c10bb7dbdc738ecf6bd5813fd6389fa4f (patch)
tree3a8d2d6b4b31e2236a0520a8c9bbbcfc15d3e22a /src/content/dependencies/generateContributionList.js
parent90752ea08abd70af1c349358430ee121b9acdff7 (diff)
content: consider language order for tooltip offset preview
Diffstat (limited to 'src/content/dependencies/generateContributionList.js')
-rw-r--r--src/content/dependencies/generateContributionList.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/generateContributionList.js b/src/content/dependencies/generateContributionList.js
index fa9e3d70..4f68321f 100644
--- a/src/content/dependencies/generateContributionList.js
+++ b/src/content/dependencies/generateContributionList.js
@@ -9,11 +9,12 @@ export default {
     chronologyKind: {type: 'string'},
   },
 
-  generate: (relations, slots, {html}) =>
+  generate: (relations, slots, {html, language}) =>
     html.tag('ul',
       {[html.onlyIfContent]: true},
 
       relations.contributionLinks.length > 1 &&
+      language.$order('misc.artistLink.withContribution', 0) === 'ARTIST' &&
         {class: 'offset-tooltips'},
 
       relations.contributionLinks