fix(connection): recover connection state after VPN failures (#641)

This commit is contained in:
不吃西葫芦 authored and GitHub committed 2026-06-24 01:44:46 +08:00
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;