Skip to content

Commit

Permalink
Fix medal level display
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Dec 12, 2023
1 parent b1b30ae commit 111bbce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/components/MedalImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 111bbce

Please sign in to comment.