mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
fix(explore): dnd multiple columns doesn't work (#15781)
This commit is contained in:
committed by
GitHub
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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user