diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-21 07:49:43 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-21 07:49:43 -0300 |
commit | 7a901961dca34fc68ad0014637461979348b0397 (patch) | |
tree | 08dd55b9a5dfcdde6a81df03a0e7d503c43da29d | |
parent | bf102c4e051f118b356fcf226375639193c3549a (diff) |
content: listTracksByDate: skip dateless tracks
-rw-r--r-- | src/content/dependencies/listTracksByDate.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/listTracksByDate.js b/src/content/dependencies/listTracksByDate.js index 01ce4e2d..0a2bfd6c 100644 --- a/src/content/dependencies/listTracksByDate.js +++ b/src/content/dependencies/listTracksByDate.js @@ -15,7 +15,8 @@ export default { chunks: chunkByProperties( - sortAlbumsTracksChronologically(trackData.slice()), + sortAlbumsTracksChronologically( + trackData.filter(track => track.date)), ['album', 'date']), }; }, |