mirror of
https://github.com/apache/superset.git
synced 2026-04-25 19:14:27 +00:00
[sql lab] deeper support for templating (#3996)
* [sql lab] deeper support for templating * Fixing py tests * Fix typo
This commit is contained in:
committed by
GitHub
parent
e4903e6dc6
commit
44e753d94d
@@ -211,6 +211,9 @@ export const sqlLabReducer = function (state, action) {
|
||||
[actions.QUERY_EDITOR_SET_SQL]() {
|
||||
return alterInArr(state, 'queryEditors', action.queryEditor, { sql: action.sql });
|
||||
},
|
||||
[actions.QUERY_EDITOR_SET_TEMPLATE_PARAMS]() {
|
||||
return alterInArr(state, 'queryEditors', action.queryEditor, { templateParams: action.templateParams });
|
||||
},
|
||||
[actions.QUERY_EDITOR_SET_SELECTED_TEXT]() {
|
||||
return alterInArr(state, 'queryEditors', action.queryEditor, { selectedText: action.sql });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user