Fix #287: Display file size in human format during file upload
This commit is contained in:
parent
b6fc0051fa
commit
16718809f7
|
@ -0,0 +1 @@
|
||||||
|
Display file size in human format during file upload (#287)
|
|
@ -50,7 +50,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(file, index) in files" :key="file.id">
|
<tr v-for="(file, index) in files" :key="file.id">
|
||||||
<td>{{ file.name }}</td>
|
<td>{{ file.name }}</td>
|
||||||
<td>{{ file.size }}</td>
|
<td>{{ file.size | humanSize }}</td>
|
||||||
<td>
|
<td>
|
||||||
<span v-if="file.error" class="ui red label">
|
<span v-if="file.error" class="ui red label">
|
||||||
{{ file.error }}
|
{{ file.error }}
|
||||||
|
|
Loading…
Reference in New Issue