Skip to content

Commit

Permalink
[Visualize] fix performance degradation after lodash@4 upgrade (#75864)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Aug 25, 2020
1 parent 3e44675 commit ed228bc
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 ed228bc

Please sign in to comment.