Parcourir la source

add region error if not found

pull/1/head
Jonathan Cobb il y a 4 ans
Parent
révision
e6b1df12ca
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. +1
    -2
      src/account/NewNetworkPage.vue

+ 1
- 2
src/account/NewNetworkPage.vue Voir le fichier

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


Chargement…
Annuler
Enregistrer