diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-10-10 09:38:25 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-10-10 09:38:25 -0300 |
commit | f2381a1ee1e20dea5b23ea9d20c7a85b5b1c1c45 (patch) | |
tree | 3c0d11e7bb0bb214cdca3e934e082142ed54f3ae /src/page | |
parent | cc4c12ad31be6b6d8432f257e112195179f7eafa (diff) | |
parent | 962e6d1777feb69711e33b16d11d322edd1744cd (diff) |
Merge branch 'album-gallery-nav' into preview
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/album.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/page/album.js b/src/page/album.js index 69fcabcf..af410763 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -5,7 +5,6 @@ export function targets({wikiData}) { } export function pathsForTarget(album) { - const hasGalleryPage = album.tracks.some(t => t.hasUniqueCoverArt); const hasCommentaryPage = !!album.commentary || album.tracks.some(t => t.commentary); return [ @@ -19,7 +18,7 @@ export function pathsForTarget(album) { }, }, - hasGalleryPage && { + { type: 'page', path: ['albumGallery', album.directory], |