diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2025-11-25 14:55:54 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2025-11-25 14:56:22 -0400 |
| commit | ffffbc81426bb6ccd07ee6084a9c40fb126222ff (patch) | |
| tree | 0e677801df2bd91af8917bf2bfb0e7b977ce53da /src/data/composite/things/track/withTrackArtDate.js | |
| parent | 04589995da7ceae84aec112e44f7451e9bc47e0c (diff) | |
data: Track: chop withDate
Diffstat (limited to 'src/data/composite/things/track/withTrackArtDate.js')
| -rw-r--r-- | src/data/composite/things/track/withTrackArtDate.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/data/composite/things/track/withTrackArtDate.js b/src/data/composite/things/track/withTrackArtDate.js index b7eff5ad..d7d043d6 100644 --- a/src/data/composite/things/track/withTrackArtDate.js +++ b/src/data/composite/things/track/withTrackArtDate.js @@ -3,7 +3,6 @@ import {isDate} from '#validators'; import {raiseOutputWithoutDependency} from '#composite/control-flow'; -import withDate from './withDate.js'; import withPropertyFromAlbum from './withPropertyFromAlbum.js'; export default templateCompositeFrom({ @@ -50,8 +49,10 @@ export default templateCompositeFrom({ : continuation()), }, - withDate().outputs({ - '#date': '#trackArtDate', - }), + { + dependencies: ['date'], + compute: (continuation, {date}) => + continuation({'#trackArtDate': date}), + }, ], }); |