Skip to content

Commit

Permalink
Sprint 31 (#511)
Browse files Browse the repository at this point in the history
* Resolves #495
  • Loading branch information
raschdiaz committed Nov 25, 2020
1 parent b9f4092 commit 7515b2b
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion screens/Contact/ContactDetailScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2123,7 +2123,9 @@ class ContactDetailScreen extends React.Component {
</Label>
</Col>
</Row>
<Row style={[styles.formRow, { paddingTop: 5 }]} pointerEvents="none">
<Row
style={[styles.formRow, { paddingTop: 5, paddingBottom: 5 }]}
pointerEvents="none">
<Col
style={[
styles.statusFieldContainer,
Expand Down Expand Up @@ -2153,6 +2155,23 @@ class ContactDetailScreen extends React.Component {
</Picker>
</Col>
</Row>
<Row>
{Object.prototype.hasOwnProperty.call(
this.state.contact,
`reason_${this.state.contact.overall_status}`,
) ? (
<Text>
(
{
this.props.contactSettings.fields[
`reason_${this.state.contact.overall_status}`
].values[this.state.contact[`reason_${this.state.contact.overall_status}`]]
.label
}
)
</Text>
) : null}
</Row>
<Row style={styles.formRow}>
<Col style={[styles.formIconLabel, { marginRight: 10 }]}>
<Icon
Expand Down

0 comments on commit 7515b2b

Please sign in to comment.