mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix: virtual dataset wont work (#16132)
(cherry picked from commit 3bbcc30d69)
This commit is contained in:
committed by
Ville Brofeldt
parent
eb2d8882cf
commit
5b04835d6e
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user