Поправлен баг
This commit is contained in:
@@ -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) {
|
if (item.booksLoaded) {
|
||||||
result = `${item.books.length}/${item.count}`;
|
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));
|
||||||
|
|||||||
Reference in New Issue
Block a user