diff options
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateAlbumNavLinks.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateAlbumNavLinks.js b/src/content/dependencies/generateAlbumNavLinks.js index 4ce94e1c..e4eb6c54 100644 --- a/src/content/dependencies/generateAlbumNavLinks.js +++ b/src/content/dependencies/generateAlbumNavLinks.js @@ -70,12 +70,12 @@ export default { const {content: extraLinks = []} = slots.showExtraLinks && {content: [ - relations.albumGalleryLink.slots({ + relations.albumGalleryLink?.slots({ attributes: {class: slots.currentExtra === 'gallery' && 'current'}, content: language.$('albumPage.nav.gallery'), }), - relations.albumCommentaryLink.slots({ + relations.albumCommentaryLink?.slots({ attributes: {class: slots.currentExtra === 'commentary' && 'current'}, content: language.$('albumPage.nav.commentary'), }), |