ComputedNfp => value

This commit is contained in:
Julia Friesel committed 2018-07-16 18:21:58 +02:00
1 parent c96d3d4550
commit 79f17644d7
3 files changed
+12 -6

No files matched your search

+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]} )`