fix(rfid reader): ratio to be fixed 2 digits so it dose not span across the entire page

This commit is contained in:
2025-07-14 10:19:34 -05:00
parent bc54b365ea
commit c6d80dbc8a

View File

@@ -89,7 +89,7 @@ export const readerColumns: ColumnDef<Readers>[] = [
100; 100;
return ( return (
<div className="text-left font-medium"> <div className="text-left font-medium">
{isNaN(goodRatio) ? 0 : goodRatio}% {isNaN(goodRatio) ? 0 : goodRatio.toFixed(2)}%
</div> </div>
); );
}, },