From 6d6dab9b1a72ec6531589829a043cb531938c7ee Mon Sep 17 00:00:00 2001 From: Bernd Storath <999999bst@gmail.com> Date: Mon, 3 Mar 2025 14:53:13 +0100 Subject: [PATCH] fix chart --- src/app/components/Base/Chart.vue | 8 +++++++- src/app/components/ClientCard/ClientCard.vue | 10 +++++++--- src/app/components/ClientCard/LastSeen.vue | 3 +-- src/app/components/ClientCard/Transfer.vue | 4 ++-- src/app/stores/global.ts | 2 ++ 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/src/app/components/Base/Chart.vue b/src/app/components/Base/Chart.vue index 9976acff..afa46ba5 100644 --- a/src/app/components/Base/Chart.vue +++ b/src/app/components/Base/Chart.vue @@ -1,6 +1,12 @@ diff --git a/src/app/components/ClientCard/ClientCard.vue b/src/app/components/ClientCard/ClientCard.vue index aeac1aee..69caa79a 100644 --- a/src/app/components/ClientCard/ClientCard.vue +++ b/src/app/components/ClientCard/ClientCard.vue @@ -9,10 +9,14 @@
- - +
+ +
+
+ +
diff --git a/src/app/components/ClientCard/LastSeen.vue b/src/app/components/ClientCard/LastSeen.vue index fda45fb3..fd6027a6 100644 --- a/src/app/components/ClientCard/LastSeen.vue +++ b/src/app/components/ClientCard/LastSeen.vue @@ -1,10 +1,9 @@ diff --git a/src/app/components/ClientCard/Transfer.vue b/src/app/components/ClientCard/Transfer.vue index 55bbf6bc..53574c78 100644 --- a/src/app/components/ClientCard/Transfer.vue +++ b/src/app/components/ClientCard/Transfer.vue @@ -3,7 +3,7 @@
@@ -22,7 +22,7 @@
diff --git a/src/app/stores/global.ts b/src/app/stores/global.ts index ddf83ffd..811c10cd 100644 --- a/src/app/stores/global.ts +++ b/src/app/stores/global.ts @@ -5,6 +5,8 @@ export const useGlobalStore = defineStore('Global', () => { const sortClient = ref(true); // Sort clients by name, true = asc, false = desc + // TODO: migrate to cookies + const uiShowCharts = ref(getItem('uiShowCharts') === '1'); function toggleCharts() {