« get me outta code hell

content, data: Track: Contributor Text - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateTrackInfoPage.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-06-08 12:08:36 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-06-08 12:08:48 -0300
commitf10f5a187f26d08019e452e7fbd417b7f462faa4 (patch)
treea721a9413b90b7c2dbd22d76b0ab212ed9219c7f /src/content/dependencies/generateTrackInfoPage.js
parent6b858c651b55dc45ee5710c90389eb4b97069d54 (diff)
content, data: Track: Contributor Text preview
missing chronology link substitution
Diffstat (limited to 'src/content/dependencies/generateTrackInfoPage.js')
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js
index ac96e072..3d06b364 100644
--- a/src/content/dependencies/generateTrackInfoPage.js
+++ b/src/content/dependencies/generateTrackInfoPage.js
@@ -92,7 +92,9 @@ export default {
       relation('generateTrackInfoPageOtherReleasesLines', track),
 
     contributorContributionList:
-      relation('generateContributionList', track.contributorContribs),
+      relation('generateContributionList',
+        track.contributorContribs,
+        track.contributorText),
 
     referencedTracksList:
       relation('generateReferencedTracksList', track),
@@ -264,16 +266,12 @@ export default {
             {[html.joinChildren]: html.tag('br')},
             relations.otherReleasesLines),
 
-          html.tags([
-            relations.contentHeading.clone().slots({
-              attributes: {id: 'contributors'},
-              title: language.$('releaseInfo.contributors'),
-            }),
+          relations.contributorContributionList.slots({
+            attributes: {id: 'contributors'},
+            title: language.$('releaseInfo.contributors'),
 
-            relations.contributorContributionList.slots({
-              chronologyKind: 'trackContribution',
-            }),
-          ]),
+            chronologyKind: 'trackContribution',
+          }),
 
           html.tags([
             relations.relationsContentHeading.clone().slots({