feat: add toggle functionality to onClick for improved node interaction
This commit is contained in:
parent
820dd1ef17
commit
83a122f386
|
|
@ -133,6 +133,7 @@ function onClick() {
|
|||
const node = props.node;
|
||||
if (node.type === "table" || node.type === "view") {
|
||||
openData();
|
||||
toggle();
|
||||
} else if (canExpand) {
|
||||
toggle();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue