mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-27 16:09:01 +03:00
fix: ordered contributors by contribution count
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
1 parent
2a7abceba1
commit
3401fa4cf1
2 files changed
+4
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user