From d78eaaaaf52842594a26236f0ecaff839a59916b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E4=B8=AB=E8=AE=B2=E6=A2=B5?= Date: Sun, 18 Oct 2026 12:03:08 +0800 Subject: [PATCH] fix(quick-open): open plugin connections from search --- apps/desktop/src/App.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/desktop/src/App.vue b/apps/desktop/src/App.vue index edb1b10dbd..6b2e4b6c01 100644 --- a/apps/desktop/src/App.vue +++ b/apps/desktop/src/App.vue @@ -3996,6 +3996,15 @@ async function handleQuickOpenSelect(item: any) { return; } + // Plugin connections have their own destination (a contributed workbench or + // filesystem provider). Route them through the same lifecycle used by the + // sidebar instead of treating them like database connections and attempting + // to load a database tree. + if (item.type === "connection" && connectionStore.getConfig(item.connectionId)?.db_type === "plugin") { + await openConnectionQuery(item.connectionId); + return; + } + // For all other types, set the active connection connectionStore.activeConnectionId = item.connectionId;