diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateGroupSecondaryNav.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateGroupSecondaryNav.js b/src/content/dependencies/generateGroupSecondaryNav.js index e9c7004d..6501cfca 100644 --- a/src/content/dependencies/generateGroupSecondaryNav.js +++ b/src/content/dependencies/generateGroupSecondaryNav.js @@ -84,12 +84,12 @@ export default { class: 'nav-links-groups', content: (!relations.previousGroupLink && !relations.nextGroupLink - ? categoryLink + ? categoryLink ?? html.blank() : html.tag('span', relations.colorStyle, [ - categoryLink.slot('color', false), + categoryLink?.slot('color', false), `(${language.formatUnitList(previousNextPart)})`, ])), }); |