🐛 fix(EditNodeModal): remove unnecessary code that closes the modal when nodeLength is 0
This commit is contained in:
parent
85f0c3cda6
commit
21f058d46d
1 changed files with 0 additions and 3 deletions
|
|
@ -61,9 +61,6 @@ const EditNodeModal = forwardRef(
|
|||
let disabled =
|
||||
reactFlowInstance?.getEdges().some((e) => e.targetHandle === data.id) ??
|
||||
false;
|
||||
if (nodeLength == 0) {
|
||||
setModalOpen(false);
|
||||
}
|
||||
|
||||
function changeAdvanced(node) {
|
||||
Object.keys(data.node.template).map((n, i) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue