We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e94b9c7 commit a4b6666Copy full SHA for a4b6666
web_src/js/components/RepoContributors.vue
@@ -4,7 +4,7 @@
4
5
<div class="ui attached segment two column grid">
6
<div
7
- v-for="(contributor, index) in contributorGraphData"
+ v-for="(contributor, index) in sortedContributors"
8
:key="index"
9
class="column stats-table"
10
>
@@ -79,7 +79,7 @@ const sfc = {
79
window.config.pageData.repoContributorsStats || [],
80
}),
81
computed: {
82
- contributorGraphData() {
+ sortedContributors() {
83
return Object.values(this.contributorsStats)
84
.sort((a, b) => (a.total_commits > b.total_commits ? -1 : a.total_commits === b.total_commits ? 0 : 1))
85
.slice(0, 100);
0 commit comments