From 39dc7647bcf34315095f05da4c66f125f95c210c Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Mon, 31 Oct 2022 13:57:10 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B1=D0=B0=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Search/SeriesList/SeriesList.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/components/Search/SeriesList/SeriesList.vue b/client/components/Search/SeriesList/SeriesList.vue index b50b50e..d823d01 100644 --- a/client/components/Search/SeriesList/SeriesList.vue +++ b/client/components/Search/SeriesList/SeriesList.vue @@ -133,8 +133,8 @@ class SeriesList extends BaseList { if (!this.showCounts || item.count === undefined) return result; - if (item.books) { - result = `${item.books.length}/${item.count}`; + if (item.booksLoaded) { + result = `${item.booksLoaded.length}/${item.count}`; } else result = `#/${item.count}`; @@ -163,7 +163,6 @@ class SeriesList extends BaseList { const filtered = this.filterBooks(seriesItem.allBooksLoaded); - //объединение по сериям const books = []; for (const book of filtered) { books.push(prepareBook(book));