format file size

This commit is contained in:
loicbersier 2020-01-26 02:39:03 +01:00
parent 6f1c8525ee
commit 72e9a7daa7

View file

@ -167,7 +167,7 @@
<div class="control"> <div class="control">
<div class="tags has-addons"> <div class="tags has-addons">
<span class="tag">{{ antl.formatMessage('messages.recentSize') }}</span> <span class="tag">{{ antl.formatMessage('messages.recentSize') }}</span>
<span class="tag is-primary">{{ file.size }}</span> <span class="tag is-primary">{{ antl.formatNumber(file.size) }} {{ file.unit }}</span>
</div> </div>
</div> </div>
</div> </div>