summaryrefslogtreecommitdiff
path: root/public/bundle.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/bundle.js')
-rw-r--r--public/bundle.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/public/bundle.js b/public/bundle.js
index ea45391..6d9e13d 100644
--- a/public/bundle.js
+++ b/public/bundle.js
@@ -560,18 +560,17 @@ var FileList = function (_Component) {
(0, _preact.h)(
'div',
{ className: 'size' },
- file.size || ''
+ file.size ? (file.size / 1024 / 1024).toFixed(1) + ' mb.' : ''
),
(0, _preact.h)(
'div',
{ className: 'date' },
(0, _moment2.default)(file.created_at).format("YYYY-MM-DD H:mm")
),
- file.epoch && (0, _preact.h)(
+ (0, _preact.h)(
'div',
{ className: 'epoch' },
- 'epoch ',
- file.epoch
+ file.epoch > 0 ? 'epoch ' + file.epoch : ''
),
(0, _preact.h)(
'div',