mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Update samples table when datasource changes (#12378)
This commit is contained in:
parent
12504264e7
commit
41751529a6
@ -143,7 +143,7 @@ export const DataTablesPane = ({
|
|||||||
...prevState,
|
...prevState,
|
||||||
[RESULT_TYPES.samples]: true,
|
[RESULT_TYPES.samples]: true,
|
||||||
}));
|
}));
|
||||||
}, [queryFormData.adhoc_filters]);
|
}, [queryFormData.adhoc_filters, queryFormData.datasource]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (panelOpen && isRequestPending[RESULT_TYPES.results]) {
|
if (panelOpen && isRequestPending[RESULT_TYPES.results]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user