diff --git a/ayanova/src/views/adm-license.vue b/ayanova/src/views/adm-license.vue index 9b81c0fc..9a0bd3ae 100644 --- a/ayanova/src/views/adm-license.vue +++ b/ayanova/src/views/adm-license.vue @@ -280,6 +280,7 @@ export default { }, licenseState: 0, dbIsEmpty: false, + isRequesting: false, request: { Email: null, Company: "", @@ -404,6 +405,9 @@ export default { if (this.request.Company == null) { return true; } + if (this.isRequesting) { + return true; + } return !this.form().controlsAreAllValid(this, [ "requestcompany", "requestcontact", @@ -434,6 +438,7 @@ export default { } } + this.isRequesting = true; //call erase window.$gz.erasingDatabase = true; //suspend notify polling let r = await window.$gz.api.upsert( @@ -462,6 +467,8 @@ export default { //then another message box saying watch your email to verify } catch (error) { window.$gz.errorHandler.handleFormError(error, vm); + } finally { + this.isRequesting = false; } }, async fetchKey() { diff --git a/ayanova/src/views/ay-evaluate.vue b/ayanova/src/views/ay-evaluate.vue index aa0fe6ff..2f3382ce 100644 --- a/ayanova/src/views/ay-evaluate.vue +++ b/ayanova/src/views/ay-evaluate.vue @@ -63,6 +63,7 @@ >