fix(rfid reader): ratio to be fixed 2 digits so it dose not span across the entire page
This commit is contained in:
@@ -89,7 +89,7 @@ export const readerColumns: ColumnDef<Readers>[] = [
|
||||
100;
|
||||
return (
|
||||
<div className="text-left font-medium">
|
||||
{isNaN(goodRatio) ? 0 : goodRatio}%
|
||||
{isNaN(goodRatio) ? 0 : goodRatio.toFixed(2)}%
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user