Set exclude correctly in state
This commit is contained in:
1 parent
5c4959d4bb
commit
98b0a4c6e9
1 file changed
+1
-1
+1
-1
@@ -19,7 +19,7 @@ export default class Bleeding extends Component {
|
||||
this.state = {
|
||||
cycleDay,
|
||||
currentValue: Number((cycleDay.bleeding && cycleDay.bleeding.value) || 0).toString(),
|
||||
exclude: cycleDay.bleeding && cycleDay.bleeding.exclude
|
||||
exclude: cycleDay.bleeding ? cycleDay.bleeding.exclude : false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user