|
@@ -133,8 +133,8 @@ class SeriesList extends BaseList {
|
|
if (!this.showCounts || item.count === undefined)
|
|
if (!this.showCounts || item.count === undefined)
|
|
return result;
|
|
return result;
|
|
|
|
|
|
- if (item.books) {
|
|
|
|
- result = `${item.books.length}/${item.count}`;
|
|
|
|
|
|
+ if (item.booksLoaded) {
|
|
|
|
+ result = `${item.booksLoaded.length}/${item.count}`;
|
|
} else
|
|
} else
|
|
result = `#/${item.count}`;
|
|
result = `#/${item.count}`;
|
|
|
|
|
|
@@ -163,7 +163,6 @@ class SeriesList extends BaseList {
|
|
|
|
|
|
const filtered = this.filterBooks(seriesItem.allBooksLoaded);
|
|
const filtered = this.filterBooks(seriesItem.allBooksLoaded);
|
|
|
|
|
|
- //объединение по сериям
|
|
|
|
const books = [];
|
|
const books = [];
|
|
for (const book of filtered) {
|
|
for (const book of filtered) {
|
|
books.push(prepareBook(book));
|
|
books.push(prepareBook(book));
|