From 7a30ec426d9cb4049c663441a510bd1525deed40 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 11 Jan 2025 17:06:25 -0400 Subject: data: Track: reverse spec fix-ups --- src/data/things/track.js | 6 +++--- 1 file 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, }, }; -- cgit 1.3.0-6-gf8a5