Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/apps/profiles/src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ export const PHONE_NUMBER_ROLES = [
UserRole.administrator,
UserRole.talentManager,
UserRole.projectManager,
UserRole.copilot,
]
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const PhoneCard: FC<PhoneCardProps> = (props: PhoneCardProps) => {
)}
>
{
props.canEdit && (
props.phoneIndex === 0 && (

Choose a reason for hiding this comment

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

[❗❗ correctness]
Changing the condition from props.canEdit to props.phoneIndex === 0 alters the logic for displaying the phone icon. Ensure this change aligns with the intended functionality, as it may impact the display logic for users who can edit versus those who cannot.

<div className={styles.phoneIcon}>
<IconSolid.PhoneIcon />
</div>
Expand Down
Loading