mirror of
https://github.com/apache/superset.git
synced 2026-07-20 05:36:00 +00:00
chore: consolidate sqllab store into SPA store (#25088)
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { normalizeTimestamp, QueryState, t } from '@superset-ui/core';
|
||||
import getInitialState from './getInitialState';
|
||||
import * as actions from '../actions/sqlLab';
|
||||
import { now } from '../../utils/dates';
|
||||
import {
|
||||
@@ -165,7 +164,7 @@ export default function sqlLabReducer(state = {}, action) {
|
||||
return { ...state, queries: newQueries };
|
||||
},
|
||||
[actions.RESET_STATE]() {
|
||||
return { ...getInitialState() };
|
||||
return { ...action.sqlLabInitialState };
|
||||
},
|
||||
[actions.MERGE_TABLE]() {
|
||||
const at = { ...action.table };
|
||||
|
||||
Reference in New Issue
Block a user