Skip to content

Commit b7e46d8

Browse files
Tim Roestimroes
authored andcommitted
[TSVB] Remove remaining lodash.set usage (#65846)
1 parent 32ad39e commit b7e46d8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/plugins/vis_type_timeseries/server/lib/vis_data/table/process_bucket.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import { buildProcessorFunction } from '../build_processor_function';
2121
import { processors } from '../response_processors/table';
2222
import { getLastValue } from '../../../../common/get_last_value';
2323
import regression from 'regression';
24-
import { first, get, set } from 'lodash';
24+
import { first, get } from 'lodash';
25+
import { overwrite } from '../helpers';
2526
import { getActiveSeries } from '../helpers/get_active_series';
2627

2728
export function processBucket(panel) {
@@ -35,7 +36,7 @@ export function processBucket(panel) {
3536
const timeseries = {
3637
buckets: get(bucket, `${series.id}.buckets`),
3738
};
38-
set(bucket, series.id, { meta, timeseries });
39+
overwrite(bucket, series.id, { meta, timeseries });
3940
}
4041

4142
const processor = buildProcessorFunction(processors, bucket, panel, series);

0 commit comments

Comments
 (0)