CzRger 2 giorni fa
parent
commit
31ec6caf0a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/views/workflow/handle.ts

+ 1 - 0
src/views/workflow/handle.ts

@@ -303,6 +303,7 @@ export const handleNodeSubmit = (no) => {
       break
     case NodeType.IfElse:
       {
+        no.elseCaseId = no.__ports.filter((v) => v.isElse)[0].id
         no.cases = no.__ports
           .filter((v) => !v.isElse)
           .map((v) => {