mirror of
https://github.com/langgenius/dify.git
synced 2025-11-01 11:23:29 +00:00
fix: note node delete
This commit is contained in:
parent
261b7cabc8
commit
a4f4fea0a5
@ -550,7 +550,7 @@ export const useNodesInteractions = () => {
|
||||
if (!currentNode)
|
||||
return
|
||||
|
||||
if (nodesMetaDataMap?.[currentNode.data.type as BlockEnum].metaData.isUndeletable)
|
||||
if (nodesMetaDataMap?.[currentNode.data.type as BlockEnum]?.metaData.isUndeletable)
|
||||
return
|
||||
|
||||
if (currentNode.data.type === BlockEnum.Iteration) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user