Skip to content

Commit

Permalink
fix: virtual dataset wont work (#16132)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3bbcc30)
  • Loading branch information
zhaoyongjie authored and villebro committed Aug 10, 2021
1 parent eb2d888 commit 5b04835
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 5b04835

Please sign in to comment.