Fixed: Sorting by track count

pull/1689/head
Qstick 4 years ago
parent 864a1d9a26
commit c0aa16d8bb

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

Loading…
Cancel
Save