1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

Fix endless loop when nesting 2 form steps inside each other

This commit is contained in:
Andrew Kingston 2021-08-20 15:20:19 +01:00
parent 9cb1ce6862
commit 97fdcc0209

View file

@ -19,8 +19,7 @@
if (
formContext &&
$builderStore.inBuilder &&
$builderStore.selectedComponentPath?.includes($component.id) &&
$formState?.currentStep !== step
$builderStore.selectedComponentPath?.includes($component.id)
) {
formContext.formApi.setStep(step)
}