Adds new set of labels for chosing intensity of a tracking category

This commit is contained in:
emelko
2018-08-03 13:28:10 +02:00
parent e42d25a087
commit 8e56fc0b23
3 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -12,7 +12,8 @@ import {
mucusNFP as computeSensiplanMucusLabels,
cervixOpening as openingLabels,
cervixFirmness as firmnessLabels,
cervixPosition as positionLabels
cervixPosition as positionLabels,
intensity as intensityLabels
} from './labels/labels'
import cycleDayModule from '../../lib/cycle'
import { bleedingDaysSortedByDate } from '../../db'
@@ -149,7 +150,7 @@ function getLabel(symptomName, symptom) {
},
desire: desire => {
if (typeof desire.value === 'number') {
const desireLabel = `${positionLabels[desire.value]}`
const desireLabel = `${intensityLabels[desire.value]}`
return desireLabel
}
}