projects
/
arvados-workbench2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c2ca3c3
)
Merge branch '17564-file-size-inaccuracy' into main. Closes #17564
author
Stephen Smith <stephen@curii.com>
Wed, 4 Aug 2021 21:09:58 +0000
(17:09 -0400)
committer
Stephen Smith <stephen@curii.com>
Wed, 4 Aug 2021 21:09:58 +0000
(17:09 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
src/common/formatters.ts
patch
|
blob
|
history
diff --git
a/src/common/formatters.ts
b/src/common/formatters.ts
index eeab703d0d4955f915efa782730135e945ffe83c..779809f1569494da93c599706fd1d977201df46a 100644
(file)
--- a/
src/common/formatters.ts
+++ b/
src/common/formatters.ts
@@
-66,19
+66,19
@@
export function formatUploadSpeed(prevLoaded: number, loaded: number, prevTime:
const FILE_SIZES = [
{
- base: 10
00000000000
,
+ base: 10
99511627776
,
unit: "TB"
},
{
- base: 10
00000000
,
+ base: 10
73741824
,
unit: "GB"
},
{
- base: 10
00000
,
+ base: 10
48576
,
unit: "MB"
},
{
- base: 10
00
,
+ base: 10
24
,
unit: "KB"
},
{