mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 21:55:59 +00:00
implemented middle click in connection tree
This commit is contained in:
@@ -190,4 +190,11 @@
|
||||
on:click={handleConnect}
|
||||
on:click
|
||||
on:expand
|
||||
on:middleclick={() => {
|
||||
if (data.singleDatabase) {
|
||||
getDatabaseMenuItems(data, data.defaultDatabase, $extensions, $currentDatabase)
|
||||
.find(x => x.isNewQuery)
|
||||
.onClick();
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user