Skip to content

Commit

Permalink
fix: replace username with fullname
Browse files Browse the repository at this point in the history
Description: Replace username with full name
VAN-1832
  • Loading branch information
ahtesham-quraish committed Mar 5, 2024
1 parent 05e58fe commit 38863cd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/ProgramRecord/ProgramRecordHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ function ProgramRecordHeader({
</span>
</div>
<div className="learner-info my-3">
{
learner.full_name && (
<FormattedMessage

Check warning on line 82 in src/components/ProgramRecord/ProgramRecordHeader.jsx

View check run for this annotation

Codecov / codecov/patch

src/components/ProgramRecord/ProgramRecordHeader.jsx#L82

Added line #L82 was not covered by tests
id="learner.full_name"
defaultMessage="{full_name}|"
description="Full name of the learner"
values={{
full_name: learner.full_name,
}}
/>
)
}
<FormattedMessage
id="learner.email"
defaultMessage="{email}"
Expand Down

0 comments on commit 38863cd

Please sign in to comment.