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 0e308b7 commit e587e0fCopy full SHA for e587e0f
app/profile/profile.controller.js
@@ -44,7 +44,7 @@ import moment from 'moment'
44
vm.stats = stats
45
vm.profile.tracks = vm.profile.tracks || []
46
vm.tracks = ProfileService.getTracks(stats) || vm.profile.tracks
47
- if (stats.COPILOT && stats.COPILOT.contests && vm.profile.tracks.indexOf('COPILOT') == -1) {
+ if (vm.profile.badges.copilot || (stats.COPILOT && stats.COPILOT.contests && vm.profile.tracks.indexOf('COPILOT') == -1)) {
48
vm.profile.tracks.push('COPILOT')
49
}
50
// flag to indicate if the member has acitivity on topcoder to be shown
0 commit comments