« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateAlbumSecondaryNav.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNav.js b/src/content/dependencies/generateAlbumSecondaryNav.js
index b2cfef69..6616f20e 100644
--- a/src/content/dependencies/generateAlbumSecondaryNav.js
+++ b/src/content/dependencies/generateAlbumSecondaryNav.js
@@ -1,3 +1,5 @@
+import {empty} from '../../util/sugar.js';
+
 export default {
   contentDependencies: [
     'generateColorStyleVariables',
@@ -80,7 +82,7 @@ export default {
           ].filter(Boolean);
 
           return (
-            (slots.mode === 'album'
+            (slots.mode === 'album' && !empty(links)
               ? html.tag('span', {style: colorVariables}, [
                   language.$('albumSidebar.groupBox.title', {
                     group: groupLink,