Minor UI fixes, hide cast button when not connected to server, update sort options

This commit is contained in:
advplyr
2022-04-17 17:54:13 -05:00
parent 493d7aecc9
commit c4c6377925
7 changed files with 32 additions and 23 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ export default {
id: 'local-books',
label: 'Local Books',
type: 'book',
entities: books
entities: books.slice(0, 10)
})
}
if (podcasts.length) {
@@ -83,7 +83,7 @@ export default {
id: 'local-podcasts',
label: 'Local Podcasts',
type: 'podcast',
entities: podcasts
entities: podcasts.slice(0, 10)
})
}
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="w-32">
<div class="relative">
<covers-book-cover :library-item="libraryItem" :width="128" :book-cover-aspect-ratio="bookCoverAspectRatio" />
<div v-if="!isPodcast" class="absolute bottom-0 left-0 h-1.5 bg-yellow-400 shadow-sm z-10" :style="{ width: 128 * progressPercent + 'px' }"></div>
<div v-if="!isPodcast" class="absolute bottom-0 left-0 h-1.5 shadow-sm z-10" :class="userIsFinished ? 'bg-success' : 'bg-yellow-400'" :style="{ width: 128 * progressPercent + 'px' }"></div>
</div>
</div>
<div class="flex-grow px-3">