diff options
Diffstat (limited to 'src/data/composite/things')
-rw-r--r-- | src/data/composite/things/contribution/withContributionContext.js | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/data/composite/things/contribution/withContributionContext.js b/src/data/composite/things/contribution/withContributionContext.js index 83ad5b73..3c1c31c0 100644 --- a/src/data/composite/things/contribution/withContributionContext.js +++ b/src/data/composite/things/contribution/withContributionContext.js @@ -1,6 +1,6 @@ import {input, templateCompositeFrom} from '#composite'; -import {withPropertiesFromObject} from '#composite/data'; +import {raiseOutputWithoutDependency} from '#composite/control-flow'; export default templateCompositeFrom({ annotation: `withContributionContext`, @@ -11,6 +11,22 @@ export default templateCompositeFrom({ ], steps: () => [ + raiseOutputWithoutDependency({ + dependency: 'thing', + output: input.value({ + '#contributionTarget': null, + '#contributionProperty': null, + }), + }), + + raiseOutputWithoutDependency({ + dependency: 'thingProperty', + output: input.value({ + '#contributionTarget': null, + '#contributionProperty': null, + }), + }), + { dependencies: ['thing', 'thingProperty'], |