From 7cf701e6e44dbbd15694542969b48b6707ab0c24 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 25 Nov 2025 16:15:00 -0400 Subject: data: Track: chop withAllReleases --- src/data/composite/things/track/withOtherReleases.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/data/composite/things/track/withOtherReleases.js') diff --git a/src/data/composite/things/track/withOtherReleases.js b/src/data/composite/things/track/withOtherReleases.js index bb3e8983..ccf57deb 100644 --- a/src/data/composite/things/track/withOtherReleases.js +++ b/src/data/composite/things/track/withOtherReleases.js @@ -3,21 +3,17 @@ import {input, templateCompositeFrom} from '#composite'; -import withAllReleases from './withAllReleases.js'; - export default templateCompositeFrom({ annotation: `withOtherReleases`, outputs: ['#otherReleases'], steps: () => [ - withAllReleases(), - { - dependencies: [input.myself(), '#allReleases'], + dependencies: [input.myself(), 'allReleases'], compute: (continuation, { [input.myself()]: thisTrack, - ['#allReleases']: allReleases, + ['allReleases']: allReleases, }) => continuation({ ['#otherReleases']: allReleases.filter(track => track !== thisTrack), -- cgit 1.3.0-6-gf8a5