« 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/dependencies
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-04-24 10:28:36 -0300
commit4304b01884bf997518a55c6de1ae15456d4c1b46 (patch)
tree93b67799b4de51c798e9fb95067692c11e473a6e /src/content/dependencies
parentcc0fc2bbbe9ef0ec3966511ce365ab622cd6cd4f (diff)
content: generateAlbumSecondaryNav: fix using wrong group list
Diffstat (limited to 'src/content/dependencies')
-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) {