Version increment and download cover to stream container

This commit is contained in:
Mark Cooper
2021-09-14 18:24:02 -05:00
parent 7fe37ff983
commit 2414600b2d
4 changed files with 9 additions and 31 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
<div class="flex">
<div class="w-32">
<div class="relative">
<cards-book-cover :audiobook="audiobook" :download-cover="downlaodedCover" :width="128" />
<cards-book-cover :audiobook="audiobook" :download-cover="downloadedCover" :width="128" />
<div class="absolute bottom-0 left-0 h-1.5 bg-yellow-400 shadow-sm" :style="{ width: 128 * progressPercent + 'px' }"></div>
</div>
<div class="flex my-4">
@@ -157,7 +157,7 @@ export default {
isDownloadPlayable() {
return this.downloadObj && !this.isDownloading && !this.isDownloadPreparing
},
downlaodedCover() {
downloadedCover() {
return this.downloadObj ? this.downloadObj.cover : null
},
downloadObj() {