From e86f93243bc0e51e21e70bf98d735d72e8d76c15 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Wed, 3 Oct 2018 09:58:36 -0400 Subject: [PATCH] set submit flag when the modal is opened --- js/components/forms/new_project.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/components/forms/new_project.js b/js/components/forms/new_project.js index 21cdf01a..a1d86e59 100644 --- a/js/components/forms/new_project.js +++ b/js/components/forms/new_project.js @@ -40,6 +40,7 @@ export default { errors: [], environments, name, + readyToSubmit: false } }, @@ -106,6 +107,7 @@ export default { isValid = this.errors.length == 0 && isValid if (isValid) { + this.readyToSubmit = true this.openModal(modalName) } }