diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-10-30 22:35:18 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-10-30 22:37:35 -0300 |
commit | c1f93e2d270292bca7e991c180db618f4902a3f9 (patch) | |
tree | b0530b50f1a0e23a2080e3c2a0ec45dac14a3825 /src/data | |
parent | cabae7f32a08c8d1e9ce9609b0325cfe81135b60 (diff) |
content, data: fix places that assume coverArtDate defaults to date
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/things/art-tag.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/art-tag.js b/src/data/things/art-tag.js index 6503beec..8901ab39 100644 --- a/src/data/things/art-tag.js +++ b/src/data/things/art-tag.js @@ -54,7 +54,7 @@ export class ArtTag extends Thing { sortAlbumsTracksChronologically( [...albumData, ...trackData] .filter(({artTags}) => artTags.includes(artTag)), - {getDate: o => o.coverArtDate}), + {getDate: thing => thing.coverArtDate ?? thing.date}), }, }, }); |