ChatDrawerItem: round frequency to 1 decimal, if fractional

This commit is contained in:
Enrico Ros
2026-03-25 13:13:44 -07:00
parent 08e3caf8c2
commit 309786e01e
@@ -282,7 +282,7 @@ function ChatDrawerItem(props: {
{searchFrequency > 0 ? (
// Display search frequency if it exists and is greater than 0
<Typography level='body-sm'>
{searchFrequency}
{Math.round(searchFrequency * 10) / 10}
</Typography>
) : (props.showSymbols && (userFlagsSummary || containsDocAttachments || containsImageAssets)) ? (
<Box sx={{