diff options
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateAlbumSecondaryNav.js | 4 |
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, |