From e6b1df12caeb216553de9068577ebc7fbd907852 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Wed, 15 Jan 2020 23:18:14 -0500 Subject: [PATCH] add region error if not found --- src/account/NewNetworkPage.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/account/NewNetworkPage.vue b/src/account/NewNetworkPage.vue index 99b819f..f01cef0 100644 --- a/src/account/NewNetworkPage.vue +++ b/src/account/NewNetworkPage.vue @@ -467,9 +467,8 @@ if (this.paymentInfo) { const cloudRegion = this.findRegion(this.cloudRegionUuid); if (cloudRegion === null) { - console.log('no region selected'); // todo: set error + this.errors.add({field: 'region', msg: this.messages['err_region_notFound']}); } else { - console.log('sending accountPlan: ' + JSON.stringify(this.accountPlan) + ' cloud/region=' + cloudRegion.cloud + '/' + cloudRegion.internalName); this.addPlanAndStartNetwork({ userId: this.user.uuid, accountPlan: this.accountPlan,