mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
fixes: ref:#4703 and open datasource connection form bug from leftsidebar datasource popup (#4725)
This commit is contained in:
parent
494fa0015a
commit
0db36bb7d5
1 changed files with 6 additions and 9 deletions
|
|
@ -214,14 +214,11 @@ class DataSourceManagerComponent extends React.Component {
|
|||
};
|
||||
|
||||
handleBackToAllDatasources = () => {
|
||||
this.setState(
|
||||
{
|
||||
queryString: null,
|
||||
filteredDatasources: [],
|
||||
activeDatasourceList: '#alldatasources',
|
||||
},
|
||||
() => this.onExit()
|
||||
);
|
||||
this.setState({
|
||||
queryString: null,
|
||||
filteredDatasources: [],
|
||||
activeDatasourceList: '#alldatasources',
|
||||
});
|
||||
};
|
||||
|
||||
updateSuggestedDatasources = () => {
|
||||
|
|
@ -606,7 +603,7 @@ class DataSourceManagerComponent extends React.Component {
|
|||
<div
|
||||
className={`back-btn me-3 ${this.props.darkMode ? 'dark' : ''}`}
|
||||
role="button"
|
||||
onClick={() => this.setState({ selectedDataSource: false })}
|
||||
onClick={() => this.setState({ selectedDataSource: false }, () => this.onExit())}
|
||||
>
|
||||
<img className="m-0" src="assets/images/icons/back.svg" width="30" height="30" />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue