Allow format data util to conditionally allow padding

This commit is contained in:
John Furrow
2016-04-23 15:55:32 -07:00
parent dda0ce0e88
commit 751e305292
2 changed files with 11 additions and 4 deletions
@@ -67,7 +67,7 @@ class SpeedLimitDropdown extends React.Component {
if (bytes === 0) {
return 'Unlimited';
} else {
let formattedData = format.data(bytes, '/s', 0);
let formattedData = format.data(bytes, '/s', 1, {padded: false});
return (
<span>
{formattedData.value}