mirror of
https://github.com/apache/superset.git
synced 2026-05-12 11:25:56 +00:00
initial commit (#16366)
This commit is contained in:
committed by
GitHub
parent
a9f502b67b
commit
3faf653e5f
@@ -80,8 +80,9 @@ class CollectionControl extends React.Component {
|
||||
}
|
||||
|
||||
onChange(i, value) {
|
||||
Object.assign(this.props.value[i], value);
|
||||
this.props.onChange(this.props.value);
|
||||
const newValue = [...this.props.value];
|
||||
newValue[i] = { ...this.props.value[i], ...value };
|
||||
this.props.onChange(newValue);
|
||||
}
|
||||
|
||||
onAdd() {
|
||||
|
||||
Reference in New Issue
Block a user