fix all lines missing

This commit is contained in:
hjlarry 2025-10-13 16:38:50 +08:00
parent 4c7853164d
commit 60fdbb56a9
1 changed files with 1 additions and 1 deletions

View File

@ -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