« get me outta code hell

content: generateAlbumSecondaryNav: fix using wrong group list - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-24 10:28:18 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-01 07:06:03 -0300
commita2dec9fbdf795cd77940a70fe423a09ce754a700 (patch)
tree49c8709a06637123b38774a83d69206463349846 /src/content
parent891728dd019884a69517820aadabed41206e9c1b (diff)
content: generateAlbumSecondaryNav: fix using wrong group list
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateAlbumSecondaryNav.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNav.js b/src/content/dependencies/generateAlbumSecondaryNav.js
index 9b9380e2..3b7a168d 100644
--- a/src/content/dependencies/generateAlbumSecondaryNav.js
+++ b/src/content/dependencies/generateAlbumSecondaryNav.js
@@ -59,11 +59,11 @@ export default {
       relation('generateSecondaryNav');
 
     relations.groupLinks =
-      album.groups
+      query.groups
         .map(group => relation('linkGroup', group));
 
     relations.colorStyles =
-      album.groups
+      query.groups
         .map(group => relation('generateColorStyleAttribute', group.color));
 
     if (album.date) {