Fix issue getting bindable properties when selecting a screen
This commit is contained in:
parent
1f1786c2b3
commit
117a7f7ce8
|
@ -83,7 +83,7 @@ export const getActionProviderComponents = (asset, componentId, actionType) => {
|
||||||
* Gets a datasource object for a certain data provider component
|
* Gets a datasource object for a certain data provider component
|
||||||
*/
|
*/
|
||||||
export const getDatasourceForProvider = (asset, component) => {
|
export const getDatasourceForProvider = (asset, component) => {
|
||||||
const settings = getComponentSettings(component._component)
|
const settings = getComponentSettings(component?._component)
|
||||||
|
|
||||||
// If this component has a dataProvider setting, go up the stack and use it
|
// If this component has a dataProvider setting, go up the stack and use it
|
||||||
const dataProviderSetting = settings.find(setting => {
|
const dataProviderSetting = settings.find(setting => {
|
||||||
|
|
Loading…
Reference in New Issue