Skip to content

Commit

Permalink
Social | Fix Bluesky display name when it's not set in user profile (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk authored Oct 21, 2024
1 parent f7ffb04 commit 3cc23dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Social: Fixed Bluesky display name when it's not set in Bluesky profile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export function ConnectionName( { connection }: ConnectionNameProps ) {
return (
<div className={ styles[ 'connection-name' ] }>
{ ! connection.profile_link ? (
<span className={ styles[ 'profile-link' ] }>{ connection.display_name }</span>
<span className={ styles[ 'profile-link' ] }>
{ connection.display_name || connection.external_name }
</span>
) : (
<ExternalLink className={ styles[ 'profile-link' ] } href={ connection.profile_link }>
{ connection.display_name || connection.external_display }
Expand Down

0 comments on commit 3cc23dd

Please sign in to comment.