mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
use GB instead of GBytes, also only 2 digits
This commit is contained in:
parent
f43c59c043
commit
75f427029b
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ Connected Peers
|
||||||
if (pow == units.length-1) break
|
if (pow == units.length-1) break
|
||||||
}
|
}
|
||||||
|
|
||||||
return parseFloat(temporal.toFixed(3)) + units[pow]+"Bytes"
|
return parseFloat(temporal.toFixed(2)) + units[pow]+"B"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<section class="content">
|
<section class="content">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue