Skip to content
Snippets Groups Projects
Commit 7d46706c authored by mashazyu's avatar mashazyu
Browse files

Allows to enter note in the future

parent 297c1cf3
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