mirror of https://github.com/apache/superset.git
Datasource cannot be empty (#3035)
This commit is contained in:
parent
95509f2000
commit
b301ba1f57
|
@ -35,6 +35,7 @@ export const controls = {
|
|||
isLoading: true,
|
||||
clearable: false,
|
||||
default: null,
|
||||
validators: [v.nonEmpty],
|
||||
mapStateToProps: (state) => {
|
||||
const datasources = state.datasources || [];
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue