You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/01/09 08:12:22 UTC
[superset] branch master updated: Update samples table when
datasource changes (#12378)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 4175152 Update samples table when datasource changes (#12378)
4175152 is described below
commit 41751529a6245bd63d548d8b3cb5e14ef1f6181a
Author: Kamil Gabryjelski <ka...@gmail.com>
AuthorDate: Sat Jan 9 09:11:42 2021 +0100
Update samples table when datasource changes (#12378)
---
superset-frontend/src/explore/components/DataTablesPane.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/explore/components/DataTablesPane.tsx b/superset-frontend/src/explore/components/DataTablesPane.tsx
index 73fa57d..a2c5f2c 100644
--- a/superset-frontend/src/explore/components/DataTablesPane.tsx
+++ b/superset-frontend/src/explore/components/DataTablesPane.tsx
@@ -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]) {