Browse Source

add region error if not found

pull/1/head
Jonathan Cobb 4 years ago
parent
commit
e6b1df12ca
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/account/NewNetworkPage.vue

+ 1
- 2
src/account/NewNetworkPage.vue View File

@@ -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,


Loading…
Cancel
Save