« get me outta code hell

contentt, css: linkOtherReleaseOnArtistInfoPage: behaviorize - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateArtistInfoPageFirstReleaseTooltip.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-02-21 09:17:55 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-03-02 08:24:14 -0400
commita7eda7e5840a4ddf568bbab8cfa8073a0f495ebf (patch)
tree23809c2853895f4d088a38166e0fbef57ccabc5e /src/content/dependencies/generateArtistInfoPageFirstReleaseTooltip.js
parent0bed9ef3384f76421592d8f017d7deaa464fd859 (diff)
contentt, css: linkOtherReleaseOnArtistInfoPage: behaviorize
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageFirstReleaseTooltip.js')
-rw-r--r--src/content/dependencies/generateArtistInfoPageFirstReleaseTooltip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageFirstReleaseTooltip.js b/src/content/dependencies/generateArtistInfoPageFirstReleaseTooltip.js
index 231ef340..f86dead7 100644
--- a/src/content/dependencies/generateArtistInfoPageFirstReleaseTooltip.js
+++ b/src/content/dependencies/generateArtistInfoPageFirstReleaseTooltip.js
@@ -15,7 +15,7 @@ export default {
       sortChronologically(track.allReleases).slice(1),
   }),
 
-  relations: (relation, query, track) => ({
+  relations: (relation, query, track, artist) => ({
     tooltip:
       relation('generateTooltip'),
 
@@ -25,7 +25,7 @@ export default {
     rereleaseLinks:
       query.rereleases
         .map(rerelease =>
-          relation('linkOtherReleaseOnArtistInfoPage', rerelease)),
+          relation('linkOtherReleaseOnArtistInfoPage', rerelease, artist)),
   }),
 
   data: (query, track) => ({