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

pull/250/head
Qstick 7 years ago
parent 902036fbdb
commit 87e492fe51

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

Loading…
Cancel
Save