From 721de0a343fd1f718ff44c28ace4fb1849de0d22 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 20 Aug 2022 16:13:55 -0500 Subject: [PATCH] Remove old square covers config --- client/components/tables/UsersTable.vue | 6 +++--- client/pages/config/index.vue | 12 ------------ 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/client/components/tables/UsersTable.vue b/client/components/tables/UsersTable.vue index 63424f87..e615ca2b 100644 --- a/client/components/tables/UsersTable.vue +++ b/client/components/tables/UsersTable.vue @@ -164,8 +164,8 @@ export default { } if (this.$root.socket) { - this.$root.socket.off('user_added', this.newUserAdded) - this.$root.socket.off('user_updated', this.userUpdated) + this.$root.socket.off('user_added', this.addUpdateUser) + this.$root.socket.off('user_updated', this.addUpdateUser) this.$root.socket.off('user_removed', this.userRemoved) } } @@ -208,6 +208,6 @@ export default { font-weight: 600; padding-top: 5px; padding-bottom: 5px; - background-color: #272727 + background-color: #272727; } \ No newline at end of file diff --git a/client/pages/config/index.vue b/client/pages/config/index.vue index c6f39fd3..8e73e1ab 100644 --- a/client/pages/config/index.vue +++ b/client/pages/config/index.vue @@ -52,15 +52,6 @@

Display

-
@@ -279,7 +270,6 @@ export default { return { isResettingLibraryItems: false, updatingServerSettings: false, - useSquareBookCovers: false, homeUseAlternativeBookshelfView: false, useAlternativeBookshelfView: false, isPurgingCache: false, @@ -406,8 +396,6 @@ export default { this.newServerSettings = this.serverSettings ? { ...this.serverSettings } : {} this.newServerSettings.sortingPrefixes = [...(this.newServerSettings.sortingPrefixes || [])] - this.useSquareBookCovers = this.newServerSettings.coverAspectRatio === this.$constants.BookCoverAspectRatio.SQUARE - this.homeUseAlternativeBookshelfView = this.newServerSettings.homeBookshelfView === this.$constants.BookshelfView.TITLES this.useAlternativeBookshelfView = this.newServerSettings.bookshelfView === this.$constants.BookshelfView.TITLES },