Fix for form issue #5669 - when in an empty state didn't correctly handle null stores.

This commit is contained in:
mike12345567 2022-05-03 15:29:17 +01:00
parent 9e46413202
commit cfd53b2f93
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
if (
formContext &&
$builderStore.inBuilder &&
$componentStore.selectedComponentPath?.includes($component.id)
$componentStore?.selectedComponentPath?.includes($component.id)
) {
formContext.formApi.setStep(step)
}