Skip to content

Commit

Permalink
Fix identities showing (#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaspergrom authored Aug 22, 2023
1 parent 9947682 commit 6cb2ed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/modules/member/components/member-identities.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
:tooltip-label="platformContent(platform).tooltipLabel"
:as-link="platformContent(platform).asLink"
:show-handles-badge="true"
:backup-url="props.member.attributes.url[platform]"
:backup-url="props.member.attributes.url?.[platform]"
/>
</div>
</div>
Expand Down Expand Up @@ -54,7 +54,7 @@ const platformContent = (platform) => {
};
const hasSocialIdentities = computed(
() => Object.keys(props.username).some((k) => !!props.username[k].length),
() => Object.values(props.username).some((k) => k.length > 0),
);
</script>
Expand Down

0 comments on commit 6cb2ed6

Please sign in to comment.