fix: ordered contributors by contribution count

Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
Corentin Thomasset committed 2020-06-15 22:10:08 +02:00
1 parent 2a7abceba1
commit 3401fa4cf1
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@
axios
.get(url)
.then(({data}) => {
this.contributors = data.sort((a, b) => a.contributions - b.contributions)
this.contributors = data.sort((a, b) => b.contributions - a.contributions)
this.loading = false
})
.catch(() => this.hasError = true)