« get me outta code hell

content: generate{Album,Track,}ReferencingArtworksPage - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateTrackNavLinks.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-19 09:22:42 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-19 09:22:42 -0400
commit1eee031a7e1b5eb1e2fd3d3fb7411bb7a8a841ef (patch)
tree309f70b712778e3b2469cc24cd78e956a2e8a5b8 /src/content/dependencies/generateTrackNavLinks.js
parentd2bc9d725c83ab8d6131598b7763c7e711f9697a (diff)
content: generate{Album,Track,}ReferencingArtworksPage
Diffstat (limited to 'src/content/dependencies/generateTrackNavLinks.js')
-rw-r--r--src/content/dependencies/generateTrackNavLinks.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateTrackNavLinks.js b/src/content/dependencies/generateTrackNavLinks.js
index 2d4ad378..e01653f0 100644
--- a/src/content/dependencies/generateTrackNavLinks.js
+++ b/src/content/dependencies/generateTrackNavLinks.js
@@ -20,7 +20,7 @@ export default {
 
   slots: {
     currentExtra: {
-      validate: v => v.is('referenced-art'),
+      validate: v => v.is('referenced-art', 'referencing-art'),
     },
   },
 
@@ -56,6 +56,8 @@ export default {
 
             (slots.currentExtra === 'referenced-art'
               ? language.$('referencedArtworksPage.subtitle')
+           : slots.currentExtra === 'referencing-art'
+              ? language.$('referencingArtworksPage.subtitle')
               : null)),
       },
     ]),