fix rounding on score

This commit is contained in:
Josh Hawkins 2024-10-16 19:50:33 -05:00
parent 3b1079283c
commit 1eb63ba7a4

View File

@ -340,7 +340,7 @@ export default function InputWithTags({
config?.ui.time_format === "24hour" ? endTime : convertTo12Hour(endTime) config?.ui.time_format === "24hour" ? endTime : convertTo12Hour(endTime)
}`; }`;
} else if (filterType === "min_score" || filterType === "max_score") { } else if (filterType === "min_score" || filterType === "max_score") {
return (Number(filterValues) * 100).toString() + "%"; return Math.round(Number(filterValues) * 100).toString() + "%";
} else { } else {
return filterValues as string; return filterValues as string;
} }