From be6c675dedde28f9ff4f89f8153630972a1581f7 Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 4 Aug 2022 17:22:56 -0500 Subject: [PATCH] Show user stats nav only when connected to server, remove tooltip, remove icons on stats --- components/app/SideDrawer.vue | 10 +-- components/stats/DailyListeningChart.vue | 4 +- pages/stats.vue | 101 +++++++++++------------ 3 files changed, 52 insertions(+), 63 deletions(-) diff --git a/components/app/SideDrawer.vue b/components/app/SideDrawer.vue index 81d8ca13..f51a1568 100644 --- a/components/app/SideDrawer.vue +++ b/components/app/SideDrawer.vue @@ -99,12 +99,12 @@ export default { text: 'Account', to: '/account' }) + items.push({ + icon: 'equalizer', + text: 'User Stats', + to: '/stats' + }) } - items.push({ - icon: 'equalizer', - text: 'User Stats', - to: '/stats' - }) if (this.$platform !== 'ios') { items.push({ diff --git a/components/stats/DailyListeningChart.vue b/components/stats/DailyListeningChart.vue index db69783e..131534ca 100644 --- a/components/stats/DailyListeningChart.vue +++ b/components/stats/DailyListeningChart.vue @@ -14,9 +14,7 @@
- -
- +
diff --git a/pages/stats.vue b/pages/stats.vue index 9780947e..bb337d84 100644 --- a/pages/stats.vue +++ b/pages/stats.vue @@ -1,66 +1,57 @@