Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
zaliqarosli committed Nov 5, 2018
1 parent 1852717 commit 08a0106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/candidate_parameters/jsx/ConsentStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var ConsentStatus = React.createClass(
if (this.state.Data.consents.hasOwnProperty(consent)) {
const oldConsent = this.state.Data.consentStatuses[consent];
const newConsent = this.state.formData[consent];
const withdrawalDate = this.state.Data.withdrawals[consent]
const withdrawalDate = this.state.Data.withdrawals[consent];
// Set defaults
dateRequired[i] = false;
withdrawalRequired[i] = false;
Expand All @@ -117,7 +117,7 @@ var ConsentStatus = React.createClass(
withdrawalDisabled[i] = false;
// If consent was previously withdrawn and stays withdrawn, date of withdrawal should still be required
if (newConsent === "no") {
withdrawalRequired[i] = true;
withdrawalRequired[i] = true;
}
}
// If answer to consent is "yes", require date of consent
Expand Down

0 comments on commit 08a0106

Please sign in to comment.