Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit dee93e2

Browse files
author
vikasrohit
committed
Merge pull request #548 from appirio-tech/feature/sup-2577-bug-hunt-as-win-stats
SUP-2577, Bug Hunt should show wins not ratings as the main metric in profile and dashboard
2 parents f3aae78 + 433ddd4 commit dee93e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/userStats.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
rank.stat = rank.activeContests;
127127
rank.statType = 'Challenges';
128128
} else if (rank.track === 'DEVELOP') {
129-
if (['CODE', 'FIRST_2_FINISH'].indexOf(rank.subTrack) != -1) {
129+
if (['CODE', 'FIRST_2_FINISH', 'BUG_HUNT'].indexOf(rank.subTrack) != -1) {
130130
rank.stat = rank.wins;
131131
rank.statType = 'Wins';
132132
// for non rated tracks, use submissions to filter out empty values

0 commit comments

Comments
 (0)