Kaynağa Gözat

fix(exam): add missing click response handling for soft exposure button in device area

sw 4 hafta önce
ebeveyn
işleme
54b50a95da
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      src/pages/exam/DeviceArea.tsx

+ 2 - 0
src/pages/exam/DeviceArea.tsx

@@ -10,6 +10,7 @@ import {
   GENERATOR_STATUS,
   GeneratorStatus,
 } from '@/states/exam/deviceAreaSlice';
+import triggerInspection from '../../API/exam/triggerInspection';
 
 const DeviceArea = ({ className }: { className?: string }) => {
   const generatorStatus = useSelector(
@@ -68,6 +69,7 @@ const DeviceArea = ({ className }: { className?: string }) => {
           // }
           />
         }
+        onClick={triggerInspection}
         title={`曝光指示器: ${exposureStatus}`}
       />
       <Button