diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-03-31 15:02:27 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-04-10 16:02:35 -0300 |
commit | 02216898a5bf22359219b77eb48ba9928fa7ea94 (patch) | |
tree | 62b0dcc13e6b9316587d74cc4102fec62d7c1608 /src/data/things/album.js | |
parent | 0ee4a82115ae8d41260521ea9080bf0c7d455ab0 (diff) |
data, content: always fallback coverArtDate to date
Diffstat (limited to 'src/data/things/album.js')
-rw-r--r-- | src/data/things/album.js | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js index 5aba75f7..e7ab9def 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -104,16 +104,10 @@ export class Album extends Thing { dateAddedToWiki: simpleDate(), coverArtDate: [ - // ~~TODO: Why does this fall back, but Track.coverArtDate doesn't?~~ - // TODO: OK so it's because tracks don't *store* dates just like that. - // Really instead of fallback being a flag, it should be a date value, - // if this option is worth existing at all. withCoverArtDate({ from: input.updateValue({ validate: isDate, }), - - fallback: input.value(true), }), exposeDependency({dependency: '#coverArtDate'}), @@ -181,9 +175,7 @@ export class Album extends Thing { }), coverArtistContribs: [ - withCoverArtDate({ - fallback: input.value(true), - }), + withCoverArtDate(), contributionList({ date: '#coverArtDate', @@ -202,9 +194,7 @@ export class Album extends Thing { }), wallpaperArtistContribs: [ - withCoverArtDate({ - fallback: input.value(true), - }), + withCoverArtDate(), contributionList({ date: '#coverArtDate', @@ -213,9 +203,7 @@ export class Album extends Thing { ], bannerArtistContribs: [ - withCoverArtDate({ - fallback: input.value(true), - }), + withCoverArtDate(), contributionList({ date: '#coverArtDate', |