diff --git a/client/components/Search/BookView/BookView.vue b/client/components/Search/BookView/BookView.vue
index 67833b8..f5e7208 100644
--- a/client/components/Search/BookView/BookView.vue
+++ b/client/components/Search/BookView/BookView.vue
@@ -17,7 +17,7 @@
-
+
{{ bookGenre }}
@@ -33,6 +33,9 @@ const componentOptions = {
components: {
},
watch: {
+ settings() {
+ this.loadSettings();
+ },
}
};
class BookView {
@@ -42,7 +45,20 @@ class BookView {
genreTree: Array,
};
+ showGenres = true;
+
created() {
+ this.loadSettings();
+ }
+
+ loadSettings() {
+ const settings = this.settings;
+
+ this.showGenres = settings.showGenres;
+ }
+
+ get settings() {
+ return this.$store.state.settings;
}
get bookSize() {
diff --git a/client/components/Search/Search.vue b/client/components/Search/Search.vue
index 8b3d3eb..567e816 100644
--- a/client/components/Search/Search.vue
+++ b/client/components/Search/Search.vue
@@ -208,6 +208,7 @@