Skip to content

Commit

Permalink
Merge pull request #5598 from flexion/staging
Browse files Browse the repository at this point in the history
Staging to Develop
  • Loading branch information
sutt0n authored Jun 24, 2020
2 parents 4b8ba2f + ff40001 commit e9adbbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web-client/src/views/CaseDetail/AddressDisplay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ export const AddressDisplay = connect(
constants: state.constants,
contact: props.contact,
nameOverride: props.nameOverride || {},
showEmail: props.showEmail || false,
},
function AddressDisplay({ constants, contact, nameOverride }) {
function AddressDisplay({ constants, contact, nameOverride, showEmail }) {
return (
<>
<p className="margin-top-0 address-name">
Expand Down Expand Up @@ -39,6 +40,9 @@ export const AddressDisplay = connect(
{contact.phone && (
<span className="address-line margin-top-1">{contact.phone}</span>
)}
{contact.email && showEmail && (
<span className="address-line">{contact.email}</span>
)}
</p>
</>
);
Expand Down
1 change: 1 addition & 0 deletions web-client/src/views/CaseDetail/PetitionerInformation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ const PetitionerInformation = connect(
formattedCaseDetail.showCaseTitleForPrimary &&
formattedCaseDetail.caseTitle
}
showEmail={true}
/>
</address>
{formattedCaseDetail.contactPrimary.serviceIndicator && (
Expand Down

0 comments on commit e9adbbc

Please sign in to comment.