mirror of
https://github.com/apache/superset.git
synced 2026-04-22 09:35:23 +00:00
fix(sqllab): per-tab hide left bar (#13288)
* fix (sqllab): per-tab hide left bar * Load state when switching tabs
This commit is contained in:
@@ -490,6 +490,11 @@ export default function sqlLabReducer(state = {}, action) {
|
||||
southPercent: action.southPercent,
|
||||
});
|
||||
},
|
||||
[actions.QUERY_EDITOR_TOGGLE_LEFT_BAR]() {
|
||||
return alterInArr(state, 'queryEditors', action.queryEditor, {
|
||||
hideLeftBar: action.hideLeftBar,
|
||||
});
|
||||
},
|
||||
[actions.SET_DATABASES]() {
|
||||
const databases = {};
|
||||
action.databases.forEach(db => {
|
||||
|
||||
Reference in New Issue
Block a user