소스 검색

adding deps in data

namnguyen 1 년 전
부모
커밋
2a512fc9b4
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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(