fix up badges
This commit is contained in:
parent
e2f587252a
commit
b9e0f53a2a
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ export default definePlugin({
|
|||
return GlobalBadges;
|
||||
},
|
||||
getGlobalBadges(userId: string) {
|
||||
return GlobalBadges[userId]?.map(badge => ({
|
||||
return GlobalBadges[userId]?.map((badge, idx) => ({
|
||||
id: `global_badges_badge_${idx}`,
|
||||
iconSrc: badge.badge,
|
||||
description: badge.tooltip,
|
||||
position: BadgePosition.START,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue