diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-01-11 17:06:25 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-01-11 17:06:25 -0400 |
commit | 7a30ec426d9cb4049c663441a510bd1525deed40 (patch) | |
tree | a8ad6635ce6ead797f08725446eb80278787424f /src/data/things/track.js | |
parent | 6c58ef8e22fda25f37a6eb5890f34a48b25da43f (diff) |
data: Track: reverse spec fix-ups
Diffstat (limited to 'src/data/things/track.js')
-rw-r--r-- | src/data/things/track.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index 5234c568..3d02e85e 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -657,14 +657,14 @@ export class Track extends Thing { tracksWhichReference: { bindTo: 'trackData', - referencing: track => [track], - referenced: track => track.sampledTracks, + referencing: track => track.isOriginalRelease ? [track] : [], + referenced: track => track.referencedTracks, }, tracksWhichSample: { bindTo: 'trackData', - referencing: track => [track], + referencing: track => track.isOriginalRelease ? [track] : [], referenced: track => track.sampledTracks, }, }; |