Улучшение работы ссылки "читать"

This commit is contained in:
Book Pauk
2022-10-14 20:05:14 +07:00
parent bc5b895cf1
commit 911ee3f2d7
2 changed files with 9 additions and 7 deletions

View File

@@ -49,7 +49,7 @@
<q-icon name="la la-copy" size="20px" />
</div>
<div v-if="config.bookReadLink" class="q-ml-sm clickable" @click="readBook">
<div v-if="showReadLink" class="q-ml-sm clickable" @click="readBook">
(читать)
</div>
@@ -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;
}