Skip to content
Snippets Groups Projects
Commit c0c025cd authored by bl00dymarie's avatar bl00dymarie
Browse files

Merge branch 'bug-cannot-enter-note-in-future' into 'master'

Bug fix: allows to enter note in the future

See merge request bloodyhealth/drip!288
parents 41e24067 7d46706c
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ class CycleDayOverView extends Component {
symptom={symptom}
symptomData={symptomData}
onPress={() => this.props.navigate(symptomEditView)}
disabled={dateInFuture}
disabled={dateInFuture && symptom !== 'note'}
/>)
})
}
......
......@@ -11,7 +11,7 @@ import { saveSymptom } from '../../../db'
class Note extends Component {
static propTypes = {
cycleDay: PropTypes.object.isRequired,
cycleDay: PropTypes.object,
date: PropTypes.string.isRequired
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment