Adding computed NFP mucus value to database and do cycle day overview
This commit is contained in:
+2
-1
@@ -32,6 +32,7 @@ export default class Mucus extends Component {
|
||||
this.state = {
|
||||
currentFeelingValue,
|
||||
currentTextureValue,
|
||||
computeSensiplanValue,
|
||||
exclude: this.cycleDay.mucus ? this.cycleDay.mucus.exclude : false
|
||||
}
|
||||
|
||||
@@ -138,7 +139,7 @@ export default class Mucus extends Component {
|
||||
saveMucus(this.cycleDay, {
|
||||
feeling: this.state.currentFeelingValue,
|
||||
texture: this.state.currentTextureValue,
|
||||
computedValue: computeSensiplanValue(this.state.currentFeelingValue, this.state.currentTextureValue),
|
||||
computedNfp: computeSensiplanValue(this.state.currentFeelingValue, this.state.currentTextureValue),
|
||||
exclude: this.state.exclude
|
||||
})
|
||||
this.showView('dayView')
|
||||
|
||||
Reference in New Issue
Block a user