fix(connection): recover connection state after VPN failures (#641)
This commit is contained in:
1 parent
3ebfae05a2
commit
9a0a32e04c
8 files changed
+469
-26
No files matched your search
@@ -425,7 +425,10 @@ function isTooltipDisabled(): boolean {
|
||||
|
||||
async function toggle() {
|
||||
const node = props.node;
|
||||
if (node.isLoading) return;
|
||||
if (node.isLoading) {
|
||||
if (node.type !== "connection") return;
|
||||
node.isLoading = false;
|
||||
}
|
||||
emit("search-toggle", node);
|
||||
const wasExpanded = !!node.isExpanded;
|
||||
|
||||
|
||||
Reference in new issue
Block a user