Skip to content

Commit

Permalink
fix: virtual dataset wont work (apache#16132)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Aug 7, 2021
1 parent 94b01a4 commit f1e1dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/datasource/DatasourceEditor.jsx
Expand Up @@ -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);
}

Expand Down

0 comments on commit f1e1dbf

Please sign in to comment.