From 64ca9549b5b02140d88dfd01f5b5793c4c131526 Mon Sep 17 00:00:00 2001 From: salam Date: Mon, 15 Jun 2026 11:08:06 +0200 Subject: [PATCH] wip --- app/Filament/Widgets/StatsMedianAverage.php | 1 - public/js/app/number-animator.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Filament/Widgets/StatsMedianAverage.php b/app/Filament/Widgets/StatsMedianAverage.php index 0de083f3..c21a698e 100644 --- a/app/Filament/Widgets/StatsMedianAverage.php +++ b/app/Filament/Widgets/StatsMedianAverage.php @@ -87,7 +87,6 @@ class StatsMedianAverage extends StatsOverviewWidget if (isset($data['results'])) { $win = $data['results']['w'] ? number_format(Round::odd($total_home / $data['results']['w']), 2) : 0; - $win = number_format($win, 2); $draw = $data['results']['d'] ? number_format(Round::odd($total_home / $data['results']['d']), 2) : 0; $lost = $data['results']['l'] ? number_format(Round::odd($total_home / $data['results']['l']), 2) : 0; } else { diff --git a/public/js/app/number-animator.js b/public/js/app/number-animator.js index bf5b3d77..d3e2911f 100644 --- a/public/js/app/number-animator.js +++ b/public/js/app/number-animator.js @@ -1,4 +1,4 @@ -function animate(element, end, duration = 500, fixtotwo = false) { +function animate(element, end, duration = 500, fixtotwo) { console.log(element, end); var element = document.getElementById(element);