Skip to content

Commit 50c7219

Browse files
committed
Remove unit from analysis result
1 parent 3b6abdb commit 50c7219

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

frontend/src/pages/MissionPage/AnalysisResultView.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,14 @@ export const AnalysisResultDialogView = ({ selectedAnalysisId, tasks }: Inspecti
101101
</Typography>
102102
</StyledInfoContent>
103103
)}
104-
{currentTask.inspection.analysisResult?.value &&
105-
currentTask.inspection.analysisResult?.unit && (
106-
<StyledInfoContent>
107-
<Typography variant="caption">{TranslateText('Value') + ':'}</Typography>
108-
<Typography variant="body_short">
109-
{currentTask.inspection.analysisResult.value}
110-
{currentTask.inspection.analysisResult.unit}
111-
</Typography>
112-
</StyledInfoContent>
113-
)}
104+
{currentTask.inspection.analysisResult?.value && (
105+
<StyledInfoContent>
106+
<Typography variant="caption">{TranslateText('Value') + ':'}</Typography>
107+
<Typography variant="body_short">
108+
{currentTask.inspection.analysisResult.value}
109+
</Typography>
110+
</StyledInfoContent>
111+
)}
114112
{currentTask.inspection.analysisResult?.confidence && (
115113
<StyledInfoContent>
116114
<Typography variant="caption">{TranslateText('Confidence') + ':'}</Typography>

0 commit comments

Comments
 (0)