diff --git a/src/actions/index.js b/src/actions/index.js index 46c86a6..e3bba77 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -403,8 +403,18 @@ function updateOutput( * } * */ + + const { type: outputType, namespace: outputNamespace } = view( + lensPath(paths[outputComponentId]), + layout + ) const payload = { - output: {id: outputComponentId, property: outputProp} + output: { + id: outputComponentId, + property: outputProp, + type: outputType, + namespace: outputNamespace, + } }; if (event) {