trigger search node in workspace

This commit is contained in:
codetypes committed 2024-04-26 10:06:57 +08:00
1 parent 82d1d89311
commit 21df9b7cca
6 files changed
+82 -80

No files matched your search

+2 -2
View File
@@ -221,7 +221,7 @@ export const Menu: FC<LayoutProps> = () => {
label: t("insertNode"),
enabled: enabled,
click: () => {
workspace.editing?.dispatch?.("insert");
workspace.editing?.dispatch("insert");
},
},
{
@@ -229,7 +229,7 @@ export const Menu: FC<LayoutProps> = () => {
label: t("deleteNode"),
enabled: enabled,
click: () => {
workspace.editing?.dispatch?.("delete");
workspace.editing?.dispatch("delete");
},
},
],