aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/profile/ProfileBadges.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/profile/ProfileBadges.tsx b/src/components/profile/ProfileBadges.tsx
index 3456afe9..978211da 100644
--- a/src/components/profile/ProfileBadges.tsx
+++ b/src/components/profile/ProfileBadges.tsx
@@ -114,7 +114,7 @@ const ProfileBadges: React.FC<ProfileBadgesProps> = ({userXId, screenType}) => {
<BadgeDetailView
userXId={userXId}
screenType={screenType}
- isEditable={userXId === undefined}
+ isEditable={isOwnProfile}
userFullName={name}
setBadgeViewVisible={setIsEditBadgeModalVisible}
/>