diff options
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateAlbumInfoPage.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumInfoPage.js b/src/content/dependencies/generateAlbumInfoPage.js index cb7355f3..26aa4376 100644 --- a/src/content/dependencies/generateAlbumInfoPage.js +++ b/src/content/dependencies/generateAlbumInfoPage.js @@ -58,7 +58,9 @@ export default { sortAlbumsTracksChronologically([ ...artist.albumsAsCoverArtist, ...artist.tracksAsCoverArtist, - ]), + ], { + getDate: thing => thing.coverArtDate ?? thing.date, + }), }); relations.albumNavAccent = |