mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Return original state for query if query was stopped (#2164)
This commit is contained in:
@@ -141,6 +141,10 @@ class ResultSet extends React.PureComponent {
|
||||
|
||||
let sql;
|
||||
|
||||
if (query.state === 'stopped') {
|
||||
return <Alert bsStyle="warning">Query was stopped</Alert>;
|
||||
}
|
||||
|
||||
if (this.props.showSql) {
|
||||
sql = <HighlightedSql sql={query.sql} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user