fix: reset tool mode after update component code (#4723)
fix bug related to tool mode
This commit is contained in:
parent
a0acf39f8a
commit
9ceb18ad4f
1 changed files with 4 additions and 1 deletions
|
|
@ -783,7 +783,10 @@ export default function NodeToolbarComponent({
|
|||
open={openModal}
|
||||
setOpen={setOpenModal}
|
||||
dynamic={true}
|
||||
setNodeClass={handleNodeClass}
|
||||
setNodeClass={(apiClassType, type) => {
|
||||
handleNodeClass(apiClassType, type);
|
||||
setToolMode(false);
|
||||
}}
|
||||
nodeClass={data.node}
|
||||
value={data.node?.template[name].value ?? ""}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue