Fix to add connection agent in non-clustered mode
ip = '';
port = null;
- created() {
- if (!this.ngrinder.config.clustered) {
- this.region = 'NONE';
- }
- }
-
addConnectionAgent() {
this.$validator.validateAll()
.then(result => {
}
beforeShown() {
- this.region = '';
+ this.region = this.ngrinder.config.clustered ? '' : 'NONE';
this.ip = '';
this.port = null;
}
