« get me outta code hell

content: genreateGroupInfoPageAlbumsSection: minor fixes - 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-06-20 08:26:58 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-20 08:26:58 -0300
commit5049aa139842aaf6e808730a4dc89456acf10fa6 (patch)
tree35f738132b2f231f878b59bdb25c6c38f46fed0e /src/content
parentdcb5206de9e461f4104a3a62146934a6b66f5d48 (diff)
content: genreateGroupInfoPageAlbumsSection: minor fixes
Fixes a re-import from '#sugar', and referring to the wrong list
for datetimestamps (which humorously doesn't actually present
wrong data, because the lists only mismatch when dates are equal).
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateGroupInfoPageAlbumsSection.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/content/dependencies/generateGroupInfoPageAlbumsSection.js b/src/content/dependencies/generateGroupInfoPageAlbumsSection.js
index 8899e98e..6a8e0871 100644
--- a/src/content/dependencies/generateGroupInfoPageAlbumsSection.js
+++ b/src/content/dependencies/generateGroupInfoPageAlbumsSection.js
@@ -1,5 +1,4 @@
-import {empty} from '#sugar';
-import {stitchArrays} from '#sugar';
+import {empty, stitchArrays} from '#sugar';
 
 export default {
   contentDependencies: [
@@ -59,7 +58,7 @@ export default {
           .map(group => relation('linkGroup', group))),
 
     datetimestamps:
-      group.albums.map(album =>
+      query.albums.map(album =>
         (album.date
           ? relation('generateAbsoluteDatetimestamp', album.date)
           : null)),