From 2a7fadbd08d0e7176d491def0ba2dcbe83f37434 Mon Sep 17 00:00:00 2001 From: yousoph Date: Mon, 22 Jun 2026 10:30:23 -0700 Subject: [PATCH] fix(sql-lab): use consistent icon size for schema refresh button (#41105) --- .../components/TableExploreTree/TreeNodeRenderer.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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')} />