Explorar o código

gluon-status-page: add TB to list of units for transfer volumes

Fixes #614
Delta / Stefan %!s(int64=8) %!d(string=hai) anos
pai
achega
bbdc334b43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/gluon-status-page/src/js/lib/gui/statistics.js

+ 1 - 1
package/gluon-status-page/src/js/lib/gui/statistics.js

@@ -192,7 +192,7 @@ define(["lib/helper"], function (Helper) {
   }
 
   function prettyBytes(d) {
-    return prettyPrefix([ "B", "kB", "MB", "GB" ], 1024, d)
+    return prettyPrefix([ "B", "kB", "MB", "GB", "TB" ], 1024, d)
   }
 
   function prettyUptime(seconds) {