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

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

commit 59e402ac68c569685e905bab279d5ff2f20cbc1c
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Mon Mar 24 13:57:41 2025 -0700

    fix icon on Explore's cached label
---
 superset-frontend/src/components/CachedLabel/index.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/components/CachedLabel/index.tsx 
b/superset-frontend/src/components/CachedLabel/index.tsx
index 9fd35b4154..3c01ab6052 100644
--- a/superset-frontend/src/components/CachedLabel/index.tsx
+++ b/superset-frontend/src/components/CachedLabel/index.tsx
@@ -21,6 +21,7 @@ import { useState, MouseEventHandler, FC } from 'react';
 import { t } from '@superset-ui/core';
 import Label from 'src/components/Label';
 import { Tooltip } from 'src/components/Tooltip';
+import Icons from 'src/components/Icons';
 import { TooltipContent } from './TooltipContent';
 
 export interface CacheLabelProps {
@@ -48,10 +49,11 @@ const CacheLabel: FC<CacheLabelProps> = ({
         onClick={onClick}
         onMouseOver={() => setHovered(true)}
         onMouseOut={() => setHovered(false)}
+        icon={<Icons.ReloadOutlined iconSize="m" />}
       >
         {/* TODO: Remove fa-icon */}
         {/* eslint-disable-next-line icons/no-fa-icons-usage */}
-        {t('Cached')} <i className="fa fa-refresh" />
+        {t('Cached')}
       </Label>
     </Tooltip>
   );

Reply via email to