Skip to content

Commit a4b6666

Browse files
committed
Use a better name for variable
1 parent e94b9c7 commit a4b6666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web_src/js/components/RepoContributors.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<div class="ui attached segment two column grid">
66
<div
7-
v-for="(contributor, index) in contributorGraphData"
7+
v-for="(contributor, index) in sortedContributors"
88
:key="index"
99
class="column stats-table"
1010
>
@@ -79,7 +79,7 @@ const sfc = {
7979
window.config.pageData.repoContributorsStats || [],
8080
}),
8181
computed: {
82-
contributorGraphData() {
82+
sortedContributors() {
8383
return Object.values(this.contributorsStats)
8484
.sort((a, b) => (a.total_commits > b.total_commits ? -1 : a.total_commits === b.total_commits ? 0 : 1))
8585
.slice(0, 100);

0 commit comments

Comments
 (0)