mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-29 00:09:52 +00:00
feat: add toggle functionality to onClick for improved node interaction
This commit is contained in:
@@ -133,6 +133,7 @@ function onClick() {
|
||||
const node = props.node;
|
||||
if (node.type === "table" || node.type === "view") {
|
||||
openData();
|
||||
toggle();
|
||||
} else if (canExpand) {
|
||||
toggle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user