diff --git a/client/components/Reader/RecentBooksPage/RecentBooksPage.vue b/client/components/Reader/RecentBooksPage/RecentBooksPage.vue
index e23e3ff9..32a07476 100644
--- a/client/components/Reader/RecentBooksPage/RecentBooksPage.vue
+++ b/client/components/Reader/RecentBooksPage/RecentBooksPage.vue
@@ -147,8 +147,8 @@
{{ item.desc.title }}
- Размер: {{ item.downloadSize }} → {{ item.bucSize }},
- {{ item.bucSize - item.downloadSize > 0 ? '+' : '' }}{{ item.bucSize - item.downloadSize }}
+ Размер: {{ item.bucSize - item.downloadSize > 0 ? '+' : '' }}{{ item.bucSize - item.downloadSize }}
+ ({{ item.downloadSize }} → {{ item.bucSize }})
@@ -231,7 +231,12 @@
@update:model-value="checkBucChange(item)"
>
- Проверять обновления
+
+ Проверка обновлений отключена автоматически
т.к. книга не обновлялась {{ bucCancelDays }} дней
+
+
+ {{ (item.checkBuc ? 'Проверка обновлений книги включена' : 'Проверка обновлений книги отключена') }}
+
@@ -289,6 +294,7 @@ class RecentBooksPage {
bucEnabled = false;
bucSizeDiff = 0;
bucSetOnNew = false;
+ bucCancelDays = 0;
needBookUpdateCount = 0;
showArchive = false;
@@ -332,6 +338,7 @@ class RecentBooksPage {
this.bucEnabled = settings.bucEnabled;
this.bucSizeDiff = settings.bucSizeDiff;
this.bucSetOnNew = settings.bucSetOnNew;
+ this.bucCancelDays = settings.bucCancelDays;
}
get settings() {
@@ -403,8 +410,8 @@ class RecentBooksPage {
inGroup: false,
coverPageUrl: book.coverPageUrl,
- showCheckBuc: !this.showArchive && utils.hasProp(book, 'downloadSize'),
- checkBuc: !!book.checkBuc,
+ showCheckBuc: !this.showArchive && utils.hasProp(book, 'downloadSize') && book.url.indexOf('disk://') !== 0,
+ checkBuc: book.checkBuc,
needBookUpdate: (
!this.showArchive
&& book.checkBuc