Skip to content

Commit

Permalink
refactor(drp): use routing value to get drp rmeote informations
Browse files Browse the repository at this point in the history
Signed-off-by: Jérémy De-Cesare <[email protected]>
  • Loading branch information
JeremyDec committed Dec 18, 2019
1 parent 752e538 commit c67279e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export default class {
this.deleteActionAvailable = this.drpInformations
.drpType === DEDICATEDCLOUD_DATACENTER_DRP_OPTIONS.onPremise
? true
: this.dedicatedCloudDrp.constructor.formatStatus(get(this.drpInformations, 'remoteSiteInformation.state')) === DEDICATEDCLOUD_DATACENTER_DRP_STATUS.delivered;
: this.dedicatedCloudDrp.constructor.formatStatus(get(this.currentDrp, 'remoteSiteInformation.state')) === DEDICATEDCLOUD_DATACENTER_DRP_STATUS.delivered;

this.ipValidator = (() => ({
test: ip => this.Validator.isValidIpv4(ip),
test: (ip) => this.Validator.isValidIpv4(ip),
}))();

this.canConfigureVpn = this.canSetVpnConfiguration();
Expand Down

0 comments on commit c67279e

Please sign in to comment.