Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
youngyjd committed Jan 12, 2019
1 parent eedf077 commit e45c59a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superset/assets/src/SqlLab/components/ResultSet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default class ResultSet extends React.PureComponent {
}
let progressBar;
let trackingUrl;
if (query.progress > 0 && query.state === 'running') {
if (query.progress > 0) {
progressBar = (
<ProgressBar
striped
Expand Down
2 changes: 1 addition & 1 deletion superset/assets/src/SqlLab/reducers/sqlLab.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default function sqlLabReducer(state = {}, action) {
progress: 100,
results: action.results,
rows,
state: action.query.state,
state: 'success',
errorMessage: null,
cached: false,
};
Expand Down

0 comments on commit e45c59a

Please sign in to comment.