mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
Some linting (#5790)
This commit is contained in:
committed by
GitHub
parent
71f014e9b6
commit
5b97fe5c0c
@@ -37,7 +37,6 @@ class DatasourceControl extends React.PureComponent {
|
||||
super(props);
|
||||
this.state = {
|
||||
showEditDatasourceModal: false,
|
||||
filter: '',
|
||||
loading: true,
|
||||
showDatasource: false,
|
||||
};
|
||||
@@ -95,9 +94,6 @@ class DatasourceControl extends React.PureComponent {
|
||||
toggleModal() {
|
||||
this.setState({ showModal: !this.state.showModal });
|
||||
}
|
||||
changeSearch(event) {
|
||||
this.setState({ filter: event.target.value });
|
||||
}
|
||||
selectDatasource(datasourceId) {
|
||||
this.setState({ showModal: false });
|
||||
this.props.onChange(datasourceId);
|
||||
|
||||
Reference in New Issue
Block a user