fix: can not correctly set force in store (#19932)

* fix: can not correctly set force in store

* fix ut
This commit is contained in:
Yongjie Zhao
2022-05-04 04:37:36 +08:00
committed by GitHub
parent 7f8279b4b3
commit 24e4ab6a1f
6 changed files with 22 additions and 0 deletions

View File

@@ -285,6 +285,7 @@ function ExploreViewContainer(props) {
}, [props.actions, props.chart.id, props.timeout]);
const onQuery = useCallback(() => {
props.actions.setForceQuery(false);
props.actions.triggerQuery(true, props.chart.id);
addHistory();
setLastQueriedControls(props.controls);