Skip to content

Commit

Permalink
Datasource cannot be empty (#3035)
Browse files Browse the repository at this point in the history
  • Loading branch information
roganw authored and mistercrunch committed Jul 26, 2017
1 parent 95509f2 commit b301ba1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/assets/javascripts/explore/stores/controls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const controls = {
isLoading: true,
clearable: false,
default: null,
validators: [v.nonEmpty],
mapStateToProps: (state) => {
const datasources = state.datasources || [];
return {
Expand Down

0 comments on commit b301ba1

Please sign in to comment.