diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-02-14 12:12:39 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-02-14 13:26:45 -0400 |
commit | 7aa6747fd8b29e2690ff3522fac731081b2b8946 (patch) | |
tree | b6617de40c0b34cca7e167f988e1164bf60d5ce3 | |
parent | 2d652ccc84e1d27c6216fcd570800ed8b0f5216e (diff) |
content: generateAlbumInfoPage: fix misaligned art chronology info
-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 = |