diff options
Diffstat (limited to 'src')
-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, }, }; |