ComputedNfp => value

This commit is contained in:
Julia Friesel
2018-07-16 18:21:58 +02:00
parent c96d3d4550
commit 79f17644d7
3 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ export default class DayView extends Component {
const mucusFeelingValue = this.cycleDay.mucus && this.cycleDay.mucus.feeling
const mucusTextureValue = this.cycleDay.mucus && this.cycleDay.mucus.texture
const mucusComputedValue = this.cycleDay.mucus && this.cycleDay.mucus.computedNfp
const mucusComputedValue = this.cycleDay.mucus && this.cycleDay.mucus.value
let mucusLabel
if (typeof mucusFeelingValue === 'number' && typeof mucusTextureValue === 'number') {
mucusLabel = `${feelingLabels[mucusFeelingValue]} + ${textureLabels[mucusTextureValue]} ( ${computeSensiplanMucusLabels[mucusComputedValue]} )`