From 256a9322ef1048e60cda424d0f366b29b304c48c Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 26 Jun 2022 11:34:58 -0500 Subject: [PATCH] Fix:Mobile toolbar for podcasts and add collections for books #693 --- client/components/app/BookShelfToolbar.vue | 26 ++++++++++++++++--- .../pages/library/_library/podcast/search.vue | 15 ++++++----- 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/client/components/app/BookShelfToolbar.vue b/client/components/app/BookShelfToolbar.vue index 591a0c31..e6e49e92 100644 --- a/client/components/app/BookShelfToolbar.vue +++ b/client/components/app/BookShelfToolbar.vue @@ -2,13 +2,19 @@
-

Home

+

Home

-

Library

+

Library

- -

Series

+ +

Series

+
+ +

Collections

+
+ +

Search

@@ -98,6 +104,9 @@ export default { } }, computed: { + userIsAdminOrUp() { + return this.$store.getters['user/getIsAdminOrUp'] + }, userCanDelete() { return this.$store.getters['user/getUserCanDelete'] }, @@ -129,6 +138,12 @@ export default { currentLibraryId() { return this.$store.state.libraries.currentLibraryId }, + currentLibraryMediaType() { + return this.$store.getters['libraries/getCurrentLibraryMediaType'] + }, + isPodcastLibrary() { + return this.currentLibraryMediaType === 'podcast' + }, homePage() { return this.$route.name === 'library-library' }, @@ -156,6 +171,9 @@ export default { }, isIssuesFilter() { return this.filterBy === 'issues' && this.$route.query.filter === 'issues' + }, + isPodcastSearchPage() { + return this.$route.name === 'library-library-podcast-search' } }, methods: { diff --git a/client/pages/library/_library/podcast/search.vue b/client/pages/library/_library/podcast/search.vue index b1e6cb90..74c25cb1 100644 --- a/client/pages/library/_library/podcast/search.vue +++ b/client/pages/library/_library/podcast/search.vue @@ -2,25 +2,26 @@
-
+
- - Submit + + + Submit - Upload OPML File + Upload OPML File

No podcasts found