diff options
Diffstat (limited to 'src/data/composite/things/track/withOtherReleases.js')
| -rw-r--r-- | src/data/composite/things/track/withOtherReleases.js | 8 |
1 files changed, 2 insertions, 6 deletions
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), |