mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-25 22:25:59 +00:00
expand/collapse DB with keyboard
This commit is contained in:
@@ -247,6 +247,12 @@
|
||||
}
|
||||
}
|
||||
}}
|
||||
handleExpansion={(item, value) => {
|
||||
if (item.database) {
|
||||
return;
|
||||
}
|
||||
expandedConnections.update(old => (value ? [...old, item.conid] : old.filter(x => x != item.conid)));
|
||||
}}
|
||||
>
|
||||
<AppObjectList
|
||||
list={connectionsWithParent}
|
||||
|
||||
Reference in New Issue
Block a user