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