Skip to content

Commit

Permalink
Another round of Logan listing QA (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
software-project authored Oct 13, 2020
1 parent c8b4c37 commit 6fdc4eb
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 125 deletions.
12 changes: 7 additions & 5 deletions apps/public-ala/pages/listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,13 @@ export default class extends Component<ListingProps> {
{listing.rentalHistory}
</ExpandableText>
</InfoCard>
<InfoCard title={t("listings.criminalBackground")}>
<ExpandableText className="text-sm text-gray-700">
{listing.criminalBackground}
</ExpandableText>
</InfoCard>
{listing.criminalBackground && (
<InfoCard title={t("listings.criminalBackground")}>
<ExpandableText className="text-sm text-gray-700">
{listing.criminalBackground}
</ExpandableText>
</InfoCard>
)}
{buildingSelectionCriteria}
</>
</ListSection>
Expand Down
Loading

0 comments on commit 6fdc4eb

Please sign in to comment.