Explorar o código

adding deps in data

namnguyen hai 1 ano
pai
achega
2a512fc9b4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      frontend/taipy-gui/src/components/Taipy/Metric.tsx

+ 2 - 1
frontend/taipy-gui/src/components/Taipy/Metric.tsx

@@ -94,11 +94,12 @@ const Metric = (props: MetricProps) => {
         }
     ]), [
         value,
+        showValue,
         delta,
-        threshold,
         props.min,
         props.max,
         props.type,
+        threshold
     ]);
 
     const style = useMemo(