Fixed: File Count on Books page

This commit is contained in:
Bogdan
2023-12-24 07:22:10 +02:00
parent 9d5cdebdb2
commit 34eb312426
2 changed files with 1 additions and 2 deletions
@@ -229,7 +229,6 @@ class BookIndexRow extends Component {
className={styles[name]} className={styles[name]}
> >
{bookFileCount} {bookFileCount}
</VirtualTableRowCell> </VirtualTableRowCell>
); );
} }
@@ -158,7 +158,7 @@ export const defaultState = {
bookFileCount: function(item) { bookFileCount: function(item) {
const { statistics = {} } = item; const { statistics = {} } = item;
return statistics.bookCount || 0; return statistics.bookFileCount || 0;
}, },
ratings: function(item) { ratings: function(item) {