Skip to content

Commit 6cb2ed6

Browse files
authored
Fix identities showing (#1369)
1 parent 9947682 commit 6cb2ed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/modules/member/components/member-identities.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
:tooltip-label="platformContent(platform).tooltipLabel"
1818
:as-link="platformContent(platform).asLink"
1919
:show-handles-badge="true"
20-
:backup-url="props.member.attributes.url[platform]"
20+
:backup-url="props.member.attributes.url?.[platform]"
2121
/>
2222
</div>
2323
</div>
@@ -54,7 +54,7 @@ const platformContent = (platform) => {
5454
};
5555
5656
const hasSocialIdentities = computed(
57-
() => Object.keys(props.username).some((k) => !!props.username[k].length),
57+
() => Object.values(props.username).some((k) => k.length > 0),
5858
);
5959
</script>
6060

0 commit comments

Comments
 (0)