mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(sqllab): show schema refresh icon only on hover (#39367)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
(cherry picked from commit ddcb9be9a7)
This commit is contained in:
committed by
Michael S. Molina
parent
9e313ba82f
commit
18a8f6cb04
@@ -234,17 +234,19 @@ const TreeNodeRenderer: React.FC<TreeNodeRendererProps> = ({
|
||||
</Typography.Text>
|
||||
{identifier === 'schema' && (
|
||||
<div className="side-action-container" role="menu">
|
||||
<RefreshLabel
|
||||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
handleRefreshTables({
|
||||
dbId: Number(_dbId),
|
||||
catalog,
|
||||
schema,
|
||||
});
|
||||
}}
|
||||
tooltipContent={t('Force refresh table list')}
|
||||
/>
|
||||
<div className="action-hover">
|
||||
<RefreshLabel
|
||||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
handleRefreshTables({
|
||||
dbId: Number(_dbId),
|
||||
catalog,
|
||||
schema,
|
||||
});
|
||||
}}
|
||||
tooltipContent={t('Force refresh table list')}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{identifier === 'table' &&
|
||||
|
||||
Reference in New Issue
Block a user