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 ( if (
formContext && formContext &&
$builderStore.inBuilder && $builderStore.inBuilder &&
$componentStore.selectedComponentPath?.includes($component.id) $componentStore?.selectedComponentPath?.includes($component.id)
) { ) {
formContext.formApi.setStep(step) formContext.formApi.setStep(step)
} }