From 1a1e687e92cfe99cd65b7137365fdb276599fe58 Mon Sep 17 00:00:00 2001 From: Reed <3893871+dharit-tan@users.noreply.github.com> Date: Tue, 23 Apr 2024 16:12:20 -0400 Subject: [PATCH] [PAY-2741] Artist dashboard album stat (#8200) --- packages/web/src/pages/dashboard-page/store/selectors.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/web/src/pages/dashboard-page/store/selectors.ts b/packages/web/src/pages/dashboard-page/store/selectors.ts index 189529b0289..8813fda1459 100644 --- a/packages/web/src/pages/dashboard-page/store/selectors.ts +++ b/packages/web/src/pages/dashboard-page/store/selectors.ts @@ -21,14 +21,12 @@ export const makeGetDashboard = () => { // Artist stats stats = { tracks: account ? account.track_count : 0, - playlists: account ? account.playlist_count : 0, - // albums: account ? account.album_count : 0, + albums: account ? account.album_count : 0, plays: tracks.reduce( (totalPlays, track) => totalPlays + (track.play_count || 0), 0 ), reposts: account ? account.repost_count : 0, - // saves: account ? 0, followers: account ? account.follower_count : 0 } } else {