Skip to content

Commit

Permalink
fix: issue on non-existing control
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed May 9, 2021
1 parent f69d66d commit 2644e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core/src/controls-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ const controlShortcuts = (
return { type: ControlTypes.OPTIONS, ...propControl, options: control };
}
if (
control.type === ControlTypes.OBJECT &&
control?.type === ControlTypes.OBJECT &&
typeof control.value === 'object'
) {
return {
Expand Down

0 comments on commit 2644e16

Please sign in to comment.