mirror of https://github.com/langgenius/dify.git
fix all lines missing
This commit is contained in:
parent
4c7853164d
commit
60fdbb56a9
|
|
@ -544,7 +544,7 @@ export class CollaborationManager {
|
|||
|
||||
const oldNodesMap = new Map(oldNodes.map(node => [node.id, node]))
|
||||
const newNodesMap = new Map(newNodes.map(node => [node.id, node]))
|
||||
const syncDataAllowList = new Set(['_children'])
|
||||
const syncDataAllowList = new Set(['_children', '_connectedSourceHandleIds', '_connectedTargetHandleIds', '_targetBranches'])
|
||||
const shouldSyncDataKey = (key: string) => (syncDataAllowList.has(key) || !key.startsWith('_')) && key !== 'selected'
|
||||
|
||||
// Delete removed nodes
|
||||
|
|
|
|||
Loading…
Reference in New Issue