diff options
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/composite.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/data/things/composite.js b/src/data/things/composite.js index 700cc922..26df71ae 100644 --- a/src/data/things/composite.js +++ b/src/data/things/composite.js @@ -588,6 +588,10 @@ export function templateCompositeFrom(description) { ? description.outputs : typeof description.outputs === 'function' ? description.outputs(inputMetadata) + .map(name => + (name.startsWith('#') + ? name + : '#' + name)) : []); const ownUpdateDescription = @@ -797,7 +801,9 @@ export function compositeFrom(description) { Object.entries(description.outputs) .map(([continuationName, outputName]) => [ outputName, - providedDependencies[continuationName], + (continuationName in providedDependencies + ? providedDependencies[continuationName] + : providedDependencies[continuationName.replace(/^#/, '')]), ]))); } |