From 685b4e77eb7cbd69baa8f5ddd053a069b9663b33 Mon Sep 17 00:00:00 2001 From: advplyr Date: Fri, 28 Oct 2022 17:27:06 -0500 Subject: [PATCH] Remove old viewMode code --- client/components/app/BookShelfToolbar.vue | 12 ------------ client/pages/library/_library/bookshelf/_id.vue | 8 +++----- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/client/components/app/BookShelfToolbar.vue b/client/components/app/BookShelfToolbar.vue index bbb34ddc..06bb2106 100644 --- a/client/components/app/BookShelfToolbar.vue +++ b/client/components/app/BookShelfToolbar.vue @@ -45,14 +45,6 @@ - Remove All {{ numShowing }} {{ entityName }} @@ -79,7 +71,6 @@ export default { default: () => null }, searchQuery: String, - viewMode: String, authors: { type: Array, default: () => [] @@ -110,9 +101,6 @@ export default { isPodcast() { return this.$store.getters['libraries/getCurrentLibraryMediaType'] == 'podcast' }, - isGridMode() { - return this.viewMode === 'grid' - }, showSortFilters() { return this.page === '' }, diff --git a/client/pages/library/_library/bookshelf/_id.vue b/client/pages/library/_library/bookshelf/_id.vue index 3dc0826e..134246e8 100644 --- a/client/pages/library/_library/bookshelf/_id.vue +++ b/client/pages/library/_library/bookshelf/_id.vue @@ -1,7 +1,7 @@ @@ -31,9 +31,7 @@ export default { } }, data() { - return { - viewMode: 'grid' - } + return {} }, computed: { streamLibraryItem() {