Browse Source

adding deps in data

namnguyen 1 year ago
parent
commit
2a512fc9b4
1 changed files with 2 additions and 1 deletions
  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(