Fix crash when evaluating data bindings for a component with no definition
This commit is contained in:
parent
ec4a4047b6
commit
a6cbf46849
|
@ -68,7 +68,7 @@ export const getBindableComponents = rootComponent => {
|
||||||
const componentSelector = component => {
|
const componentSelector = component => {
|
||||||
const type = component._component
|
const type = component._component
|
||||||
const definition = store.actions.components.getDefinition(type)
|
const definition = store.actions.components.getDefinition(type)
|
||||||
return definition.bindable
|
return definition?.bindable
|
||||||
}
|
}
|
||||||
const components = findAllMatchingComponents(rootComponent, componentSelector)
|
const components = findAllMatchingComponents(rootComponent, componentSelector)
|
||||||
return components.map(component => {
|
return components.map(component => {
|
||||||
|
|
Loading…
Reference in New Issue