Skip to content

Commit

Permalink
[CP-2159] [Contacts] Secondary phone number stays visible after remov…
Browse files Browse the repository at this point in the history
…ing it (#1431)
  • Loading branch information
patryk-sierzega authored and dkarski committed Oct 17, 2023
1 parent 8cc53d5 commit 44c6080
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const ContactDetails: FunctionComponent<ContactDetailsProps> = ({
<Input
type={"text"}
data-testid={ContactDetailsTestIds.PrimaryPhoneInput}
value={contact.primaryPhoneNumber}
value={contact.primaryPhoneNumber ?? ""}
label={intl.formatMessage(messages.noPrimaryNumber)}
// TODO: Implement additional toggles for this feature
trailingIcons={
Expand All @@ -229,7 +229,7 @@ const ContactDetails: FunctionComponent<ContactDetailsProps> = ({
<Input
type={"text"}
data-testid={ContactDetailsTestIds.SecondaryPhoneInput}
value={contact.secondaryPhoneNumber}
value={contact.secondaryPhoneNumber ?? ""}
label={intl.formatMessage(messages.noSecondNumber)}
// TODO: Implement additional toggles for this feature
trailingIcons={
Expand Down

0 comments on commit 44c6080

Please sign in to comment.