Grace Guo
2017-09-12 12:06:22 -07:00
committed by Maxime Beauchemin
parent 3c0e85e2c0
commit 2d6b9422c6
3 changed files with 14 additions and 1 deletions

View File

@@ -216,6 +216,9 @@ export const sqlLabReducer = function (state, action) {
[actions.QUERY_EDITOR_SET_AUTORUN]() {
return alterInArr(state, 'queryEditors', action.queryEditor, { autorun: action.autorun });
},
[actions.QUERY_EDITOR_PERSIST_HEIGHT]() {
return alterInArr(state, 'queryEditors', action.queryEditor, { height: action.currentHeight });
},
[actions.ADD_ALERT]() {
return addToArr(state, 'alerts', action.alert);
},