From 5c75028a2ad7dda99a05d27e8b45326726064492 Mon Sep 17 00:00:00 2001 From: inportb Date: Mon, 24 Apr 2023 21:33:08 -0400 Subject: [PATCH] Fix inability to select different VistA server upon connection failure --- htdocs/Login.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/Login.vue b/htdocs/Login.vue index 31df4f6..69a01fb 100644 --- a/htdocs/Login.vue +++ b/htdocs/Login.vue @@ -133,7 +133,10 @@ console.log('Backend secret', this.secret); 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; } }); - } else this.fail = true; + } else { + this.fail = true; + this.host = undefined; + } }, async login(evt) { if(this.x_client) {