ソースを参照

Merge pull request #1557 from Siykt/fix/redundant-snapshot

Fix: #1553 redundant snapshot
Ahmad Kholid 1 年間 前
コミット
4e7997c092
1 ファイル変更1 行追加3 行削除
  1. 1 3
      src/workflowEngine/WorkflowEngine.js

+ 1 - 3
src/workflowEngine/WorkflowEngine.js

@@ -308,9 +308,7 @@ class WorkflowEngine {
 
   addRefDataSnapshot(key) {
     this.refDataSnapshotsKeys[key].index += 1;
-    this.refDataSnapshotsKeys[
-      key
-    ].key = `##${key}${this.refDataSnapshotsKeys[key].index}`;
+    this.refDataSnapshotsKeys[key].key = key;
 
     const keyName = this.refDataSnapshotsKeys[key].key;
     this.refDataSnapshots[keyName] = cloneDeep(this.referenceData[key]);