diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-31 11:00:07 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-05 21:02:54 -0300 |
commit | f874ea879e8b9555baaaa3a38ec6a00432721846 (patch) | |
tree | c58783aa6348e8a40e57c46e46b1b717f0603253 /src/data/things | |
parent | d4e5d37ef9bc09789715f978e1b636bc2a1f8e97 (diff) |
data, test: update & test Track.originalReleaseTrack
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/track.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index 22043688..9b1a8226 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -192,11 +192,10 @@ export class Track extends Thing { Thing.composite.exposeDependency('#hasUniqueCoverArt'), ]), - originalReleaseTrack: Thing.common.dynamicThingFromSingleReference( - 'originalReleaseTrackByRef', - 'trackData', - find.track - ), + originalReleaseTrack: Thing.composite.from(`Track.originalReleaseTrack`, [ + Track.composite.withOriginalRelease(), + Thing.composite.exposeDependency('#originalRelease'), + ]), otherReleases: Thing.composite.from(`Track.otherReleases`, [ |