Skip to content

Commit

Permalink
fix(Stats): fix display of challenge_count. ref #1339
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jan 27, 2025
1 parent 07e4de4 commit ab65286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default {
return api.getStats()
.then((data) => {
for (const key in this.stats) {
this.stats[key] = data[key]
this.stats[key] = (key in data) ? data[key] : this.stats[key]
}
this.loading = false
})
Expand Down

0 comments on commit ab65286

Please sign in to comment.