mirror of
https://github.com/anatolykopyl/vk-bingo.git
synced 2026-03-26 12:54:25 +00:00
Fix sorting
This commit is contained in:
@@ -124,7 +124,7 @@ const unansweredPlayers = computed(() => {
|
|||||||
|
|
||||||
const leader = computed(() => {
|
const leader = computed(() => {
|
||||||
return Object.keys(score.value).sort((a, b) => {
|
return Object.keys(score.value).sort((a, b) => {
|
||||||
return score.value[a] - score.value[b]
|
return score.value[b] - score.value[a]
|
||||||
})[0]
|
})[0]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user