Fix inability to select different VistA server upon connection failure
This commit is contained in:
parent
6c263b00dc
commit
5c75028a2a
@ -133,7 +133,10 @@
|
|||||||
console.log('Backend secret', this.secret);
|
console.log('Backend secret', this.secret);
|
||||||
console.log(this.banner);
|
console.log(this.banner);
|
||||||
var stop = watchEffect(() => { if(!this.x_client.connected.value) { stop(); this.x_client = this.x_server = this.x_user = null; this.fail = true; } });
|
var stop = watchEffect(() => { if(!this.x_client.connected.value) { stop(); this.x_client = this.x_server = this.x_user = null; this.fail = true; } });
|
||||||
} else this.fail = true;
|
} else {
|
||||||
|
this.fail = true;
|
||||||
|
this.host = undefined;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async login(evt) {
|
async login(evt) {
|
||||||
if(this.x_client) {
|
if(this.x_client) {
|
||||||
|
Loading…
Reference in New Issue
Block a user