Skip to content

Commit

Permalink
[Visualize] fix performance degradation after lodash@4 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Aug 25, 2020
1 parent 1cae7b3 commit 2f67e45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class VisConfig {

const visType = visTypes[visConfigArgs.type];
const typeDefaults = visType(visConfigArgs, this.data);
this._values = _.defaultsDeep({}, typeDefaults, DEFAULT_VIS_CONFIG);
this._values = _.defaultsDeep({ ...typeDefaults }, DEFAULT_VIS_CONFIG);
this._values.el = el;
}

Expand Down

0 comments on commit 2f67e45

Please sign in to comment.