fix(explore): dnd multiple columns doesn't work (#15781)

This commit is contained in:
Kamil Gabryjelski
2021-07-19 20:18:10 +02:00
committed by GitHub
parent 618a354ca1
commit 239336c3e8

View File

@@ -161,7 +161,7 @@ export const DndMetricSelect = (props: any) => {
};
const onNewMetric = (newMetric: Metric) => {
const newValue = props.isMulti ? [...value, newMetric] : [newMetric];
const newValue = props.multi ? [...value, newMetric] : [newMetric];
setValue(newValue);
handleChange(newValue);
};