mirror of
https://github.com/langgenius/dify.git
synced 2025-12-28 18:42:18 +00:00
fix: filter temporary edges from workflow draft sync (#25442)
Co-authored-by: jiasiqi <jiasiqi3@tal.com>
This commit is contained in:
parent
12d1bcc545
commit
c0e1015c6e
@ -52,7 +52,7 @@ export const useNodesSyncDraft = () => {
|
||||
})
|
||||
})
|
||||
})
|
||||
const producedEdges = produce(edges, (draft) => {
|
||||
const producedEdges = produce(edges.filter(edge => !edge.data?._isTemp), (draft) => {
|
||||
draft.forEach((edge) => {
|
||||
Object.keys(edge.data).forEach((key) => {
|
||||
if (key.startsWith('_'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user