diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index 594c3e79..2d88f72b 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -18,7 +18,7 @@

{{ libraryName }}

--> -
+
diff --git a/client/components/app/BookShelf.vue b/client/components/app/BookShelf.vue index 1ca96bef..f442a276 100644 --- a/client/components/app/BookShelf.vue +++ b/client/components/app/BookShelf.vue @@ -77,6 +77,11 @@ export default { this.$store.commit('audiobooks/setSearchResults', this.searchResults) this.setBookshelfEntities() }) + }, + '$route.query.filter'() { + if (this.$route.query.filter && this.$route.query.filter !== this.filterBy) { + this.$store.dispatch('user/updateUserSettings', { filterBy: this.$route.query.filter }) + } } }, computed: { @@ -171,6 +176,7 @@ export default { this.currSearchParams = this.buildSearchParams() var entities = this.entities + var groups = [] var currentRow = 0 var currentGroup = [] diff --git a/client/components/app/BookShelfToolbar.vue b/client/components/app/BookShelfToolbar.vue index 49559b8a..66b2a5af 100644 --- a/client/components/app/BookShelfToolbar.vue +++ b/client/components/app/BookShelfToolbar.vue @@ -4,13 +4,16 @@