hide progress bar and show file size in badge

This commit is contained in:
Gamebrary 2020-11-02 14:09:15 -07:00
parent 0110bf3e2d
commit 71d0735e8b

View file

@ -40,7 +40,7 @@
<h5>{{ $t('wallpapers.list.title') }}</h5> <h5>{{ $t('wallpapers.list.title') }}</h5>
<b-progress value="59" max="72" variant="success" class="mb-3" /> <!-- <b-progress value="59" max="72" variant="success" class="mb-3" /> -->
<b-card <b-card
v-if="wallpapers.length" v-if="wallpapers.length"
@ -52,8 +52,8 @@
img-width="180" img-width="180"
class="mb-3" class="mb-3"
> >
<p>{{ wallpaper.name }}</p> <p>{{ wallpaper.name }} <b-badge>{{ bytesToSize(wallpaper.metadata.size) }}</b-badge></p>
{{ bytesToSize(wallpaper.metadata.size) }}
<b-button <b-button
variant="danger" variant="danger"
size="sm" size="sm"