Leon 1 tahun lalu
induk
melakukan
c0caba04b6

+ 1 - 0
src/components/input/SlidngScale.tsx

@@ -23,6 +23,7 @@ export default function Component(props: {
     updateStatus: Function,
     special: any
 }) {
+    debugger
     const scrollViewRef = useRef<any>();
     const isFT_IN = props.special == 'FT_IN'
     const minNum: number = props.min;//props.step < 1 ?props.default_value-2:props.default_value-20//

+ 1 - 0
src/features/trackSomething/components/Metric.tsx

@@ -480,6 +480,7 @@ export default function Component(props: any) {
                 confirm_time: new Date().getTime()
             }
         }
+        debugger
 
         global.postBtnUpdateStatus('normal');
         uploadMetric(params).then(res => {

+ 1 - 0
src/features/trackSomething/components/MetricModalAdd.tsx

@@ -32,6 +32,7 @@ export default function Component(props: { item: any, strTime: string, showPicke
                                     obj = temp
                                     var tempMap = JSON.parse(JSON.stringify(currentSel))
                                     tempMap[index] = i;
+                                    item.tempUnit = temp.unit
                                 }
                             })
                         }