mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
fix: allow option to generate new query (#13488)
This commit is contained in:
committed by
GitHub
parent
ecfcaea803
commit
b97bbed2a9
@@ -352,6 +352,13 @@ export function runQuery(query) {
|
||||
};
|
||||
}
|
||||
|
||||
export function reRunQuery(query) {
|
||||
// run Query with a new id
|
||||
return function (dispatch) {
|
||||
dispatch(runQuery({ ...query, id: shortid.generate() }));
|
||||
};
|
||||
}
|
||||
|
||||
export function validateQuery(query) {
|
||||
return function (dispatch) {
|
||||
dispatch(startQueryValidation(query));
|
||||
|
||||
Reference in New Issue
Block a user