From 1e798fdd088df2d040fa91977e4b89c9701e76b9 Mon Sep 17 00:00:00 2001 From: tobinio Date: Tue, 14 Apr 2026 19:02:05 +0200 Subject: [PATCH] fix jittering --- app/components/home/StatItem.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/components/home/StatItem.vue b/app/components/home/StatItem.vue index fb2fc12..2415034 100644 --- a/app/components/home/StatItem.vue +++ b/app/components/home/StatItem.vue @@ -5,6 +5,10 @@ data: number | undefined; }>(); + const data_string = computed(() => { + return (props.data ?? 0).toLocaleString(); + }); + const displayValue = ref(0); const startCountUp = () => { @@ -59,10 +63,11 @@
{{ displayValue?.toLocaleString() }} +
{{ name }}
-- 2.51.2