« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/things/artwork/withDate.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/composite/things/artwork/withDate.js')
-rw-r--r--src/data/composite/things/artwork/withDate.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/data/composite/things/artwork/withDate.js b/src/data/composite/things/artwork/withDate.js
index 08f1427c..5e05b814 100644
--- a/src/data/composite/things/artwork/withDate.js
+++ b/src/data/composite/things/artwork/withDate.js
@@ -1,5 +1,6 @@
 import {input, templateCompositeFrom} from '#composite';
 
+import {raiseOutputWithoutDependency} from '#composite/control-flow';
 import {withPropertyFromObject} from '#composite/data';
 
 export default templateCompositeFrom({
@@ -25,6 +26,11 @@ export default templateCompositeFrom({
           : continuation()),
     },
 
+    raiseOutputWithoutDependency({
+      dependency: 'dateFromThingProperty',
+      output: input.value({'#date': null}),
+    }),
+
     withPropertyFromObject({
       object: 'thing',
       property: 'dateFromThingProperty',