From 87e492fe51583c5b279c3ca8283eb7f733771ec9 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 17 Mar 2018 10:43:57 -0400 Subject: [PATCH] Fixed: Footer doesn't show track or file count. --- frontend/src/Artist/Index/ArtistIndexFooter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Artist/Index/ArtistIndexFooter.js b/frontend/src/Artist/Index/ArtistIndexFooter.js index 14462fc85..4d4aed44d 100644 --- a/frontend/src/Artist/Index/ArtistIndexFooter.js +++ b/frontend/src/Artist/Index/ArtistIndexFooter.js @@ -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++;