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 2fe33e4 commit 6e32991Copy full SHA for 6e32991
ts/util/encryptProfileData.ts
@@ -73,7 +73,9 @@ export async function encryptProfileData(
73
name: Bytes.toBase64(bytesName),
74
about: bytesAbout ? Bytes.toBase64(bytesAbout) : null,
75
aboutEmoji: bytesAboutEmoji ? Bytes.toBase64(bytesAboutEmoji) : null,
76
- badgeIds: (badges || []).map(({ id }) => id),
+ badgeIds: (badges || [])
77
+ .filter(badge => 'isVisible' in badge && badge.isVisible)
78
+ .map(({ id }) => id),
79
paymentAddress: window.storage.get('paymentAddress') || null,
80
avatar: Boolean(newAvatar),
81
sameAvatar,
0 commit comments