Fixed: Footer doesn't show track or file count.

This commit is contained in:
Qstick 2018-03-17 10:43:57 -04:00
commit 87e492fe51

View file

@ -15,8 +15,8 @@ function ArtistIndexFooter({ artist }) {
let totalFileSize = 0;
artist.forEach((s) => {
tracks += s.trackCount || 0;
trackFiles += s.trackFileCount || 0;
tracks += s.statistics.trackCount || 0;
trackFiles += s.statistics.trackFileCount || 0;
if (s.status === 'ended') {
ended++;