mirror of
https://github.com/apache/superset.git
synced 2024-09-06 13:57:40 -04:00
fix(explore): dnd multiple columns doesn't work (#15781)
This commit is contained in:
parent
618a354ca1
commit
239336c3e8
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user