ソースを参照

fix: filter temporary edges from workflow draft sync (#25442)

Co-authored-by: jiasiqi <jiasiqi3@tal.com>
tags/1.9.0
JQSevenMiao 1ヶ月前
コミット
c0e1015c6e
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts

+ 1
- 1
web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts ファイルの表示

@@ -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('_'))

読み込み中…
キャンセル
保存