Hide result when suggesting data source (#3034)

This commit is contained in:
Tanmoy Bhowmik 2022-05-12 06:56:05 +05:30 committed by GitHub
parent 6ea8b225cb
commit 537b18ae47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,7 +270,7 @@ class DataSourceManager extends React.Component {
))}
</>
)}
{this.state.queryString && this.state.filteredDatasources.length === 0 && (
{!suggestingDatasources && this.state.queryString && this.state.filteredDatasources.length === 0 && (
<div className="empty-state-wrapper row">
<EmptyStateContainer
queryString={this.state.queryString}