From 0d0d687edff58a3629d7d138afa3fdbf0c5fb461 Mon Sep 17 00:00:00 2001 From: Trenton Zimmer <66042448+trmazi@users.noreply.github.com> Date: Sat, 20 Jul 2024 00:27:52 -0400 Subject: [PATCH] Modify stats data location, add in title section --- src/views/Game/PlayerView.vue | 43 ++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/src/views/Game/PlayerView.vue b/src/views/Game/PlayerView.vue index 87ae97c..0989bb0 100644 --- a/src/views/Game/PlayerView.vue +++ b/src/views/Game/PlayerView.vue @@ -8,6 +8,7 @@ import { mdiPlaylistMusicOutline, mdiFormatListText, mdiChartBarStacked, + mdiChartAreasplineVariant, } from "@mdi/js"; import SectionMain from "@/components/SectionMain.vue"; import CardBoxWidget from "@/components/CardBoxWidget.vue"; @@ -211,7 +212,7 @@ function formatProfile(profile) { } function formatCounts(profile) { - const stats = profile.stats[`count_${versionForm.currentVersion}`]; + const stats = profile.stats?.count; return stats ? [ @@ -332,6 +333,16 @@ function formatCounts(profile) { }} --> + + -
- -
+