Skip to content

Commit

Permalink
chore: add _useDeepClone flag
Browse files Browse the repository at this point in the history
  • Loading branch information
k0stik committed Jun 6, 2023
1 parent 69195ae commit bb904a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions src/subworkflows/subworkflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ export class Subworkflow extends BaseSubworkflow {
};
}

static get _useDeepClone() {
return true;
}
static _useDeepClone = true;

/*
* @returns {SubworkflowUnit}
Expand Down
4 changes: 1 addition & 3 deletions src/units/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export class BaseUnit extends NamedDefaultableRepetitionRuntimeItemsImportantSet
return getUUID();
}

static get _useDeepClone() {
return true;
}
static _useDeepClone = true;

get flowchartId() {
return this.prop("flowchartId");
Expand Down
4 changes: 1 addition & 3 deletions src/workflows/workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ export class Workflow extends BaseWorkflow {
return defaultWorkflowConfig;
}

static get _useDeepClone() {
return true;
}
static _useDeepClone = true;

static generateWorkflowId() {
return getUUID();
Expand Down

0 comments on commit bb904a5

Please sign in to comment.