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