Skip to content

Commit 99054d2

Browse files
authored
Update misc.ts to add TB
1 parent bf20cfe commit 99054d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/src/tools/misc.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,7 @@ export function toHumanReadableBytes(value: number){
5656

5757
if(value < 1000000000000)
5858
return `${round(value / 1000000000)} GB`;
59+
60+
return `${round(value / 1000000000000)} TB`;
61+
5962
}

0 commit comments

Comments
 (0)