[SQL Lab] fix unnecessary offline action (#7594)

This commit is contained in:
Grace Guo
2019-05-30 10:38:49 -07:00
committed by GitHub
parent 145d72c52b
commit dbdb6b093a
3 changed files with 92 additions and 5 deletions

View File

@@ -366,11 +366,13 @@ export const runningQuery = {
id: 'ryhMUZCGb',
progress: 90,
state: 'running',
startDttm: Date.now() - 500,
};
export const cachedQuery = Object.assign({}, queries[0], { cached: true });
export const initialState = {
sqlLab: {
offline: false,
alerts: [],
queries: {},
databases: {},