fix: virtual dataset wont work (#16132)
This commit is contained in:
parent
85ae8e3477
commit
3bbcc30d69
|
|
@ -390,7 +390,7 @@ class DatasourceEditor extends React.PureComponent {
|
|||
this.setState(prevState => ({ isEditMode: !prevState.isEditMode }));
|
||||
}
|
||||
|
||||
onDatasourceChange(datasource, callback) {
|
||||
onDatasourceChange(datasource, callback = this.validateAndChange) {
|
||||
this.setState({ datasource }, callback);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue