Update:Hide size on item landing page if not set

This commit is contained in:
advplyr
2022-06-02 18:14:29 -05:00
parent 1c78af37fa
commit 3ba87419ae
2 changed files with 2 additions and 8 deletions
+2 -1
View File
@@ -30,7 +30,8 @@
<div class="bg-primary bg-opacity-80 px-3 py-0.5 rounded-full mx-0.5">
<p>{{ $elapsedPretty(duration) }}</p>
</div>
<div class="bg-primary bg-opacity-80 px-3 py-0.5 rounded-full mx-0.5">
<!-- TODO: Local books dont save the size -->
<div v-if="size" class="bg-primary bg-opacity-80 px-3 py-0.5 rounded-full mx-0.5">
<p>{{ $bytesPretty(size) }}</p>
</div>
<div class="bg-primary bg-opacity-80 px-3 py-0.5 rounded-full mx-0.5">