« get me outta code hell

data: contribution: thingProperty - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/wiki-properties
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-04 20:22:42 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-06-12 17:26:31 -0300
commitef84fb80de0a26fcb959fa6e6799cd01388d236f (patch)
tree9f910d7380d8326b06dc846a7ea1ae8ceb6b5e31 /src/data/composite/wiki-properties
parentdb054be170faa6146759cce20b18f242d89dfdcf (diff)
data: contribution: thingProperty
Diffstat (limited to 'src/data/composite/wiki-properties')
-rw-r--r--src/data/composite/wiki-properties/contributionList.js15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/data/composite/wiki-properties/contributionList.js b/src/data/composite/wiki-properties/contributionList.js
index aad12a2d..001aed17 100644
--- a/src/data/composite/wiki-properties/contributionList.js
+++ b/src/data/composite/wiki-properties/contributionList.js
@@ -28,8 +28,17 @@ export default templateCompositeFrom({
   update: {validate: isContributionList},
 
   steps: () => [
-    withResolvedContribs({from: input.updateValue()}),
-    exposeDependencyOrContinue({dependency: '#resolvedContribs'}),
-    exposeConstant({value: input.value([])}),
+    withResolvedContribs({
+      from: input.updateValue(),
+      thingProperty: input.thisProperty(),
+    }),
+
+    exposeDependencyOrContinue({
+      dependency: '#resolvedContribs',
+    }),
+
+    exposeConstant({
+      value: input.value([]),
+    }),
   ],
 });