Skip to content

Commit

Permalink
fix: #1553 redundant snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Siykt committed Nov 22, 2023
1 parent 2010e7a commit 714e07e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/workflowEngine/WorkflowEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 714e07e

Please sign in to comment.