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

@@ -189,6 +189,7 @@ const ExploreChartPanel = ({
}, []);
const refreshCachedQuery = useCallback(() => {
actions.setForceQuery(true);
actions.postChartFormData(
formData,
true,
@@ -387,6 +388,7 @@ const ExploreChartPanel = ({
<DataTablesPane
ownState={ownState}
queryFormData={queryFormData}
queryForce={force}
onCollapseChange={onCollapseChange}
chartStatus={chart.chartStatus}
errorMessage={errorMessage}