fix: update editor panel to conditionally render based on active tab mode

This commit is contained in:
t8y2 committed 2026-04-29 23:29:05 +08:00
1 parent 14996e9796
commit f47a8ed248
1 file changed
+1 -1
+1 -1
View File
@@ -530,7 +530,7 @@ async function setupFileDrop() {
<!-- Editor Panel -->
<div v-if="activeTab" class="flex flex-col flex-1 min-h-0">
<div class="h-8 shrink-0 border-b bg-background/80 px-3 flex items-center gap-2 text-xs text-muted-foreground">
<div v-if="activeTab.mode === 'query'" class="h-8 shrink-0 border-b bg-background/80 px-3 flex items-center gap-2 text-xs text-muted-foreground">
<Server class="h-3.5 w-3.5 shrink-0" />
<Select
:model-value="activeConnectionValue"