Rearrange admin panel to reduce clutter
This commit is contained in:
1 parent
58e4507f16
commit
cf0494d29c
2 files changed
+58
-54
No files matched your search
@@ -28,7 +28,7 @@ export const formatDataVolume = (amt, precision) => {
|
||||
} else if (amt >= 1e3-1) {
|
||||
return (amt/1e3).toPrecision(precision) + " kB";
|
||||
}
|
||||
return amt + " B"
|
||||
return amt.toPrecision(precision) + " B"
|
||||
}
|
||||
export const formatDataVolumeBits = (amt, precision) => {
|
||||
amt = amt*8
|
||||
|
||||
Reference in new issue
Block a user