mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-29 16:18:55 +00:00
feat: support middle-click to close tabs (#162)
This commit is contained in:
@@ -75,6 +75,7 @@ watch(
|
||||
"
|
||||
:data-active-tab="tab.id === queryStore.activeTabId"
|
||||
@click="queryStore.activeTabId = tab.id"
|
||||
@mousedown.middle.prevent="queryStore.closeTab(tab.id)"
|
||||
>
|
||||
<span
|
||||
class="h-1.5 w-1.5 rounded-full shrink-0"
|
||||
|
||||
Reference in New Issue
Block a user