« 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/generateArtistInfoPageRereleaseTooltip.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/generateArtistInfoPageRereleaseTooltip.js
parent0bed9ef3384f76421592d8f017d7deaa464fd859 (diff)
contentt, css: linkOtherReleaseOnArtistInfoPage: behaviorize
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageRereleaseTooltip.js')
-rw-r--r--src/content/dependencies/generateArtistInfoPageRereleaseTooltip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageRereleaseTooltip.js b/src/content/dependencies/generateArtistInfoPageRereleaseTooltip.js
index 8ad2c2b9..1d849919 100644
--- a/src/content/dependencies/generateArtistInfoPageRereleaseTooltip.js
+++ b/src/content/dependencies/generateArtistInfoPageRereleaseTooltip.js
@@ -14,7 +14,7 @@ export default {
       sortChronologically(track.allReleases)[0],
   }),
 
-  relations: (relation, query, track) => ({
+  relations: (relation, query, track, artist) => ({
     tooltip:
       relation('generateTooltip'),
 
@@ -22,7 +22,7 @@ export default {
       relation('generateColorStyleAttribute', track.color),
 
     firstReleaseLink:
-      relation('linkOtherReleaseOnArtistInfoPage', query.firstRelease),
+      relation('linkOtherReleaseOnArtistInfoPage', query.firstRelease, artist),
   }),
 
   data: (query, track) => ({