diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-07 10:54:24 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 22:56:02 -0300 |
commit | ab0983e3c0aeddb78b0f6d7fa24e33ceaf034e90 (patch) | |
tree | ca4f4c8af7c3b175077c3f9a27ae9b25a61e0c0a /src/data/things | |
parent | ab98a1f8ea4c5d14e76d88e8ac2992b062e7e154 (diff) |
data: track: withDate
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/track.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index 3ead059a..d9254196 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -62,6 +62,7 @@ import { withAlbum, withAlwaysReferenceByDirectory, withContainingTrackSection, + withDate, withHasUniqueCoverArt, withOriginalRelease, withOtherReleases, @@ -336,13 +337,8 @@ export class Track extends Thing { ], date: [ - exposeDependencyOrContinue({dependency: 'dateFirstReleased'}), - - withPropertyFromAlbum({ - property: input.value('date'), - }), - - exposeDependency({dependency: '#album.date'}), + withDate(), + exposeDependency({dependency: '#date'}), ], hasUniqueCoverArt: [ |