Reset error state if query execution is successful (#1497)
This commit is contained in:
parent
8092841ce5
commit
c606d95765
|
@ -220,7 +220,7 @@ export default class QueryTabComponent extends React.Component<IQueryTabComponen
|
|||
firstItemIndex,
|
||||
queryDocuments
|
||||
);
|
||||
this.setState({ queryResults });
|
||||
this.setState({ queryResults, error: "" });
|
||||
} catch (error) {
|
||||
this.props.tabsBaseInstance.isExecutionError(true);
|
||||
this.setState({
|
||||
|
|
Loading…
Reference in New Issue