Skip to content

Commit 4be0fb0

Browse files
committed
reset host list when login fails
1 parent e6503f5 commit 4be0fb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/src/views/tools/SelectVmwareVcenter.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ export default {
303303
if (doNotify) {
304304
this.$notifyError(error)
305305
}
306+
this.hosts = []
306307
return false
307308
}).finally(() => {
308309
this.loading = false

0 commit comments

Comments
 (0)