There was an error while loading. Please reload this page.
1 parent d3cdde2 commit 669be8dCopy full SHA for 669be8d
1 file changed
frontend/src/pages/MissionPage/AnalysisResultView.tsx
@@ -73,7 +73,7 @@ export const AnalysisResultDialogContent = ({ inspection }: { inspection: Inspec
73
<Typography variant="body_short">{inspection.value}</Typography>
74
</StyledInfoContent>
75
)}
76
- {inspection?.confidence && (
+ {inspection?.confidence !== undefined && inspection?.confidence !== null && (
77
<StyledInfoContent>
78
<Typography variant="caption">{TranslateText('Confidence') + ':'}</Typography>
79
<Typography variant="body_short">{Math.round(inspection.confidence) + '%'}</Typography>
0 commit comments