1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

Fix issue getting bindable properties when selecting a screen

This commit is contained in:
Andrew Kingston 2021-11-05 12:37:42 +00:00
parent 1f1786c2b3
commit 117a7f7ce8

View file

@ -83,7 +83,7 @@ export const getActionProviderComponents = (asset, componentId, actionType) => {
* Gets a datasource object for a certain data provider 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
const dataProviderSetting = settings.find(setting => {