« get me outta code hell

fix missing homepage action links - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-02-25 20:19:55 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-02-25 20:19:55 -0400
commitadb267431909a3d263bb4f931fa49b2158f024f7 (patch)
tree910c3880a0203cf21f4b705919f1346b0d496832 /src/page
parentf8bb3f83f37b621a6ace26dbe39c78023facfbbb (diff)
fix missing homepage action links
Diffstat (limited to 'src/page')
-rw-r--r--src/page/homepage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/page/homepage.js b/src/page/homepage.js
index 37dac2c8..379e5ded 100644
--- a/src/page/homepage.js
+++ b/src/page/homepage.js
@@ -57,9 +57,9 @@ export function writeTargetless({wikiData}) {
                                         ).concat(row.sourceAlbums.map(album => ({item: album}))),
                                         lazy: i > 0
                                     })}
-                                    ${row.actions?.length && fixWS`
+                                    ${row.actionLinks?.length && fixWS`
                                         <div class="grid-actions">
-                                            ${row.actions.map(action => transformInline(action)
+                                            ${row.actionLinks.map(action => transformInline(action)
                                                 .replace('<a', '<a class="box grid-item"')).join('\n')}
                                         </div>
                                     `}