« get me outta code hell

data: Track: chop withDate - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/things/track/withTrackArtDate.js
diff options
context:
space:
mode:
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
commitffffbc81426bb6ccd07ee6084a9c40fb126222ff (patch)
tree0e677801df2bd91af8917bf2bfb0e7b977ce53da /src/data/composite/things/track/withTrackArtDate.js
parent04589995da7ceae84aec112e44f7451e9bc47e0c (diff)
data: Track: chop withDate
Diffstat (limited to 'src/data/composite/things/track/withTrackArtDate.js')
-rw-r--r--src/data/composite/things/track/withTrackArtDate.js9
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}),
+    },
   ],
 });