diff --git a/superset-frontend/src/SqlLab/components/TableExploreTree/TreeNodeRenderer.tsx b/superset-frontend/src/SqlLab/components/TableExploreTree/TreeNodeRenderer.tsx index f3bdc73882f..cc37497145d 100644 --- a/superset-frontend/src/SqlLab/components/TableExploreTree/TreeNodeRenderer.tsx +++ b/superset-frontend/src/SqlLab/components/TableExploreTree/TreeNodeRenderer.tsx @@ -20,7 +20,6 @@ import { css, styled, useTheme } from '@apache-superset/core/theme'; import { t } from '@apache-superset/core/translation'; import type { NodeRendererProps } from 'react-arborist'; import { Icons, Typography } from '@superset-ui/core/components'; -import RefreshLabel from '@superset-ui/core/components/RefreshLabel'; import ColumnElement from 'src/SqlLab/components/ColumnElement'; import { ActionButton } from '@superset-ui/core/components/ActionButton'; import copyTextToClipboard from 'src/utils/copy'; @@ -260,16 +259,17 @@ const TreeNodeRenderer: React.FC = ({ )}
- { - e.stopPropagation(); + } + onClick={() => { handleRefreshTables({ dbId: Number(_dbId), catalog, schema, }); }} - tooltipContent={t('Force refresh table list')} />