diff --git a/client/components/Search/BookView/BookView.vue b/client/components/Search/BookView/BookView.vue
index 6a16fe4..89e4a32 100644
--- a/client/components/Search/BookView/BookView.vue
+++ b/client/components/Search/BookView/BookView.vue
@@ -49,7 +49,7 @@
-
+
(читать)
@@ -82,6 +82,7 @@ class BookView {
book: Object,
genreTree: Array,
showAuthor: Boolean,
+ showReadLink: Boolean,
titleColor: { type: String, default: 'text-blue-10'},
};
@@ -101,10 +102,6 @@ class BookView {
this.showDeleted = settings.showDeleted;
}
- get config() {
- return this.$store.state.config;
- }
-
get settings() {
return this.$store.state.settings;
}
diff --git a/client/components/Search/Search.vue b/client/components/Search/Search.vue
index a66f00d..1d3e1ef 100644
--- a/client/components/Search/Search.vue
+++ b/client/components/Search/Search.vue
@@ -185,12 +185,13 @@
v-for="subbook in book.allBooks" :key="subbook.key"
:book="subbook" :genre-tree="genreTree"
show-author
+ :show-read-link="showReadLink"
:title-color="isFoundSeriesBook(book, subbook) ? 'text-blue-10' : 'text-red'"
@book-event="bookEvent"
/>