diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateGroupInfoPageAlbumsSection.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/content/dependencies/generateGroupInfoPageAlbumsSection.js b/src/content/dependencies/generateGroupInfoPageAlbumsSection.js index 8899e98e..6a8e0871 100644 --- a/src/content/dependencies/generateGroupInfoPageAlbumsSection.js +++ b/src/content/dependencies/generateGroupInfoPageAlbumsSection.js @@ -1,5 +1,4 @@ -import {empty} from '#sugar'; -import {stitchArrays} from '#sugar'; +import {empty, stitchArrays} from '#sugar'; export default { contentDependencies: [ @@ -59,7 +58,7 @@ export default { .map(group => relation('linkGroup', group))), datetimestamps: - group.albums.map(album => + query.albums.map(album => (album.date ? relation('generateAbsoluteDatetimestamp', album.date) : null)), |