mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Sorting by track count
This commit is contained in:
parent
864a1d9a26
commit
c0aa16d8bb
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ export const defaultState = {
|
|||
trackCount: function(item) {
|
||||
const { statistics = {} } = item;
|
||||
|
||||
return statistics.totalTrackCount;
|
||||
return statistics.totalTrackCount || 0;
|
||||
},
|
||||
|
||||
sizeOnDisk: function(item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue