From 76d55e72dfe77fe4b7e3c391184dc23e5148a62e Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 27 Oct 2022 17:46:51 -0500 Subject: [PATCH] Update:Collections page book list show authors and update UI for mobile #943 --- .../tables/collection/BookTableRow.vue | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/client/components/tables/collection/BookTableRow.vue b/client/components/tables/collection/BookTableRow.vue index e212aa2c..381465ba 100644 --- a/client/components/tables/collection/BookTableRow.vue +++ b/client/components/tables/collection/BookTableRow.vue @@ -6,7 +6,7 @@ menu -
+
@@ -14,18 +14,20 @@
-
-
- {{ bookTitle }} +
+
+
+ {{ bookTitle }} +
+
+ +
+

{{ bookDuration }}

-
-

{{ bookDuration }}

-
- -
@@ -88,11 +90,11 @@ export default { bookTitle() { return this.mediaMetadata.title || '' }, - bookAuthor() { - return (this.mediaMetadata.authors || []).map((au) => au.name).join(', ') + bookAuthors() { + return this.mediaMetadata.authors || [] }, bookDuration() { - return this.$secondsToTimestamp(this.media.duration) + return this.$elapsedPretty(this.media.duration) }, isMissing() { return this.book.isMissing @@ -113,7 +115,7 @@ export default { return this.itemProgress ? !!this.itemProgress.isFinished : false }, coverSize() { - return this.$store.state.globals.isMobile ? 40 : 50 + return this.$store.state.globals.isMobile ? 30 : 50 }, coverWidth() { if (this.bookCoverAspectRatio === 1) return this.coverSize * 1.6