Sfoglia il codice sorgente

{showLabel ? mTitle : ""}

visuddhinanda 2 anni fa
parent
commit
cfb1b1657d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      dashboard/src/components/general/TimeShow.tsx

+ 1 - 1
dashboard/src/components/general/TimeShow.tsx

@@ -142,7 +142,7 @@ const TimeShowWidget = ({
       <Text type={type}>
         <Space>
           {icon}
-          {mTitle}
+          {showLabel ? mTitle : ""}
           {passTime}
         </Space>
       </Text>