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
Branches
Tags
No related merge requests found
...@@ -97,7 +97,7 @@ class CycleDayOverView extends Component { ...@@ -97,7 +97,7 @@ class CycleDayOverView extends Component {
symptom={symptom} symptom={symptom}
symptomData={symptomData} symptomData={symptomData}
onPress={() => this.props.navigate(symptomEditView)} onPress={() => this.props.navigate(symptomEditView)}
disabled={dateInFuture} disabled={dateInFuture && symptom !== 'note'}
/>) />)
}) })
} }
......
...@@ -11,7 +11,7 @@ import { saveSymptom } from '../../../db' ...@@ -11,7 +11,7 @@ import { saveSymptom } from '../../../db'
class Note extends Component { class Note extends Component {
static propTypes = { static propTypes = {
cycleDay: PropTypes.object.isRequired, cycleDay: PropTypes.object,
date: PropTypes.string.isRequired date: PropTypes.string.isRequired
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment