feat(profile): Create top contributor badge (#17805)
This commit is contained in:
committed by
mrugesh mohapatra
parent
d7180d8a4f
commit
3c72c93a8d
@ -850,7 +850,8 @@ module.exports = function(User) {
|
||||
points,
|
||||
portfolio,
|
||||
streak,
|
||||
username
|
||||
username,
|
||||
yearsTopContributor
|
||||
} = user;
|
||||
const {
|
||||
isLocked = true,
|
||||
@ -881,7 +882,8 @@ module.exports = function(User) {
|
||||
name: showName ? name : '',
|
||||
points: showPoints ? points : null,
|
||||
portfolio: showPortfolio ? portfolio : [],
|
||||
streak: showHeatMap ? streak : {}
|
||||
streak: showHeatMap ? streak : {},
|
||||
yearsTopContributor: yearsTopContributor
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user