From a6cbf46849b2b1bb942b0b89c935b112e52a348a Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 15 Jan 2021 11:02:00 +0000 Subject: [PATCH] Fix crash when evaluating data bindings for a component with no definition --- packages/builder/src/builderStore/dataBinding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/builderStore/dataBinding.js b/packages/builder/src/builderStore/dataBinding.js index cdb53375b1..de6f108242 100644 --- a/packages/builder/src/builderStore/dataBinding.js +++ b/packages/builder/src/builderStore/dataBinding.js @@ -68,7 +68,7 @@ export const getBindableComponents = rootComponent => { const componentSelector = component => { const type = component._component const definition = store.actions.components.getDefinition(type) - return definition.bindable + return definition?.bindable } const components = findAllMatchingComponents(rootComponent, componentSelector) return components.map(component => {