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
1 changed files with 1 additions and 1 deletions

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