diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-29 05:37:07 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-29 05:37:07 +0200 |
| commit | 3791925f07a2e21c3c99c18222b9773ff174344d (patch) | |
| tree | fd415bec2b629258ded5901a9bb2a9a1d4baed38 /public/bundle.js | |
| parent | b42a49a6d86204d630a5efbefdc5821521403fcd (diff) | |
fix file list
Diffstat (limited to 'public/bundle.js')
| -rw-r--r-- | public/bundle.js | 7 |
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', |
