« get me outta code hell

content: generateAlbumSocialEmbed: use group name, not directory - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-09-11 20:36:30 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-09-11 20:36:30 -0300
commitf9fca95359e00496a424edd39829d6f7f4ca6188 (patch)
tree13e0741f0cbb88a222b0bd9f209d23423fb40548 /src
parent43fd39b3be4c6f446f78711bf51142e27a3ee9e6 (diff)
content: generateAlbumSocialEmbed: use group name, not directory
How does this even happen
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateAlbumSocialEmbed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumSocialEmbed.js b/src/content/dependencies/generateAlbumSocialEmbed.js
index 7500109e..54574e45 100644
--- a/src/content/dependencies/generateAlbumSocialEmbed.js
+++ b/src/content/dependencies/generateAlbumSocialEmbed.js
@@ -25,7 +25,7 @@ export default {
 
     if (data.hasHeading) {
       const firstGroup = album.groups[0];
-      data.headingGroupName = firstGroup.directory;
+      data.headingGroupName = firstGroup.name;
       data.headingGroupDirectory = firstGroup.directory;
     }