From 111bbcea0df6dc7c2688ce487bd729872a0bf7b3 Mon Sep 17 00:00:00 2001 From: Bruno Perel Date: Tue, 12 Dec 2023 18:20:28 +0100 Subject: [PATCH] Fix medal level display --- apps/web/src/components/MedalImage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/MedalImage.vue b/apps/web/src/components/MedalImage.vue index b1203b4ee..2d661e83b 100644 --- a/apps/web/src/components/MedalImage.vue +++ b/apps/web/src/components/MedalImage.vue @@ -89,8 +89,8 @@ const { t } = useI18n(); const medalColors = ["bronze", "argent", "or"]; const level = computed(() => nextLevel && currentLevel.value !== null - ? currentLevel.value + 1 - : currentLevel.value, + ? currentLevel.value + : currentLevel.value - 1, ); const medalTitle = computed(() => { switch (contribution.value) {