Fix crash when evaluating data bindings for a component with no definition
This commit is contained in:
parent
0a669033d1
commit
55f8babacc
|
@ -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