Skip to content

fix(PM-4085): hide biography section when description is absent#96

Merged
hentrymartin merged 2 commits intodevelopfrom
pm-4085
Mar 10, 2026
Merged

fix(PM-4085): hide biography section when description is absent#96
hentrymartin merged 2 commits intodevelopfrom
pm-4085

Conversation

@hentrymartin
Copy link
Collaborator

@hentrymartin hentrymartin commented Mar 10, 2026

What's in this PR?

  • hide biography section when description is absent

Ticket link - https://topcoder.atlassian.net/browse/PM-4085

Note: will merge the PR without a review as its a tiny change.


// Biography Section
const biography = member.description || (basicInfo && basicInfo.shortBio)
const biography = member.description

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
Removing the fallback to basicInfo.shortBio may lead to an empty biography section if member.description is not present. Ensure this change aligns with the intended behavior and does not unintentionally hide information that should be displayed.

@hentrymartin hentrymartin merged commit e9e4389 into develop Mar 10, 2026
5 of 6 checks passed
@hentrymartin hentrymartin deleted the pm-4085 branch March 10, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant