mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Fix NaN in the UI
This commit is contained in:
parent
b207e135f6
commit
8467ffa2e8
@ -1493,6 +1493,7 @@ define([
|
||||
|
||||
usage = unit === 'GB'? Util.bytesToGigabytes(usage):
|
||||
Util.bytesToMegabytes(usage);
|
||||
if (!usage && usage !== 0) { usage = '?'; }
|
||||
limit = unit === 'GB'? Util.bytesToGigabytes(limit):
|
||||
Util.bytesToMegabytes(limit);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user