Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Jun 23, 2023
1 parent fb963e8 commit 5d156d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions superset-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"classnames": "^2.2.5",
"core-js": "^3.6.5",
"d3-array": "^1.2.4",
"d3-color": "^3.1.0",
"d3-color": "^1.2.0",
"d3-scale": "^2.1.2",
"dom-to-image-more": "^2.10.1",
"emotion-rgba": "0.0.9",
Expand Down Expand Up @@ -350,11 +350,11 @@
"node": "^16.9.1",
"npm": "^7.5.4 || ^8.1.2"
},
"readme": "ERROR: No README data found!",
"_id": "superset@0.0.0-dev",
"overrides": {
"yosay": {
"ansi-regex": "^4.1.1"
}
}
},
"readme": "ERROR: No README data found!",
"_id": "superset@0.0.0-dev"
}
4 changes: 4 additions & 0 deletions superset-frontend/src/SqlLab/reducers/sqlLab.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,10 @@ export default function sqlLabReducer(state = {}, action) {
(state.queries[id].state !== QueryState.STOPPED &&
state.queries[id].state !== QueryState.FAILED)
) {
const changedOn = Date.parse(changedQuery.changed_on);
if (changedOn > queriesLastUpdate) {
queriesLastUpdate = changedOn;
}
const prevState = state.queries[id]?.state;
const currentState = changedQuery.state;
newQueries[id] = {
Expand Down

0 comments on commit 5d156d8

Please sign in to comment.