This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch ch26447
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 048ce7172f50f78f17797cc5c1483f3f9e3b3afb
Author: hughhhh <[email protected]>
AuthorDate: Tue Oct 5 17:14:34 2021 -0700

    fix metadata reappearing
---
 superset-frontend/src/components/TableSelector/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/components/TableSelector/index.tsx 
b/superset-frontend/src/components/TableSelector/index.tsx
index 06dad72..a9f44a8 100644
--- a/superset-frontend/src/components/TableSelector/index.tsx
+++ b/superset-frontend/src/components/TableSelector/index.tsx
@@ -221,7 +221,7 @@ const TableSelector: FunctionComponent<TableSelectorProps> 
= ({
     // We are using the refresh state to re-trigger the query
     // previousRefresh should be out of dependencies array
     // eslint-disable-next-line react-hooks/exhaustive-deps
-  }, [currentDbId, currentSchema, onTablesLoad, refresh]);
+  }, [currentDbId, currentSchema, onTablesLoad, refresh, currentTable]);
 
   function renderSelectRow(select: ReactNode, refreshBtn: ReactNode) {
     return (

Reply via email to