1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

Fix crash when evaluating data bindings for a component with no definition

This commit is contained in:
Andrew Kingston 2021-01-15 11:02:00 +00:00
parent ec4a4047b6
commit a6cbf46849

View file

@ -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 => {