set submit flag when the modal is opened
This commit is contained in:
parent
e8dcddfa65
commit
e86f93243b
@ -40,6 +40,7 @@ export default {
|
|||||||
errors: [],
|
errors: [],
|
||||||
environments,
|
environments,
|
||||||
name,
|
name,
|
||||||
|
readyToSubmit: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -106,6 +107,7 @@ export default {
|
|||||||
isValid = this.errors.length == 0 && isValid
|
isValid = this.errors.length == 0 && isValid
|
||||||
|
|
||||||
if (isValid) {
|
if (isValid) {
|
||||||
|
this.readyToSubmit = true
|
||||||
this.openModal(modalName)
|
this.openModal(modalName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user