diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateTrackInfoPage.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js index 21c15004..5900b27e 100644 --- a/src/content/dependencies/generateTrackInfoPage.js +++ b/src/content/dependencies/generateTrackInfoPage.js @@ -47,7 +47,9 @@ export default { sortAlbumsTracksChronologically([ ...artist.albumsAsCoverArtist, ...artist.tracksAsCoverArtist, - ]), + ], { + getDate: albumOrTrack => albumOrTrack.coverArtDate, + }), }), albumLink: relation('linkAlbum', track.album), |