fix invite form return to fields

This commit is contained in:
Pete Matsyburka
2026-07-16 15:55:21 +03:00
parent 3f7d7beedd
commit 77a925f33b
+5
View File
@@ -1575,6 +1575,7 @@ export default {
} }
}, },
goToStep (stepIndex, scrollToArea = false, clickUpload = false) { goToStep (stepIndex, scrollToArea = false, clickUpload = false) {
this.isInvite = false
this.currentStep = stepIndex this.currentStep = stepIndex
this.showFillAllRequiredFields = false this.showFillAllRequiredFields = false
@@ -1599,6 +1600,10 @@ export default {
}) })
}, },
saveStep (formData) { saveStep (formData) {
if (!formData && !this.$refs.form) {
return
}
const currentFieldUuids = this.currentStepFields.map((f) => f.uuid) const currentFieldUuids = this.currentStepFields.map((f) => f.uuid)
const currentFieldType = this.currentField.type const currentFieldType = this.currentField.type