From 992ba528ca8467ddd6e49fb371b85df5680cf7dd Mon Sep 17 00:00:00 2001 From: Rafael Araujo Lehmkuhl Date: Wed, 13 Sep 2023 16:33:26 -0300 Subject: [PATCH] Fix the number of fractional digits in the `DepthIndicator` This way values like `0.70` are not displayed as `0.7`, which affects the widget size. --- src/components/mini-widgets/DepthIndicator.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mini-widgets/DepthIndicator.vue b/src/components/mini-widgets/DepthIndicator.vue index fa02f0d4c..1b106eb52 100644 --- a/src/components/mini-widgets/DepthIndicator.vue +++ b/src/components/mini-widgets/DepthIndicator.vue @@ -3,7 +3,7 @@
- {{ round(averageDepth, 2) }} + {{ round(averageDepth, 2).toFixed(2) }} m
Depth