fix(knowledge): format progress percentage to 2 decimal places

This commit is contained in:
2025-10-24 17:56:19 +08:00
parent fd256025b3
commit 49742f6219
2 changed files with 2 additions and 2 deletions

View File

@@ -500,7 +500,7 @@ function KnowledgeBaseDetail() {
</Typography>
<Box sx={{ display: 'flex', alignItems: 'center', gap: 2 }}>
<Chip
label={`${100 * (selectedFileDetails.progress || 0)}%`}
label={`${(100 * (selectedFileDetails.progress || 0)).toFixed(2)}%`}
color="primary"
size="small"
/>