Fixed: Sorting by track count

Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
Qstick 2020-09-07 01:23:14 -04:00
parent 6943cc0011
commit 0d8c259237

View file

@ -180,7 +180,7 @@ export const defaultState = {
bookCount: function(item) {
const { statistics = {} } = item;
return statistics.bookCount;
return statistics.bookCount || 0;
},
sizeOnDisk: function(item) {