Merge branch 'Fix-label-on-cycle-day-overview' into 'master'
Bugfix See merge request bloodyhealth/drip!39
This commit is contained in:
@@ -117,8 +117,12 @@ function getLabel(symptomName, symptom) {
|
||||
}
|
||||
},
|
||||
mucus: mucus => {
|
||||
if (typeof mucus.feeling === 'number' && typeof mucus.texture === 'number') {
|
||||
let mucusLabel = `${feelingLabels[mucus.feeling]} + ${textureLabels[mucus.texture]} ( ${computeSensiplanMucusLabels[mucus.computedNfp]} )`
|
||||
if (
|
||||
typeof mucus.feeling === 'number' &&
|
||||
typeof mucus.texture === 'number' &&
|
||||
typeof mucus.value === 'number'
|
||||
) {
|
||||
let mucusLabel = `${feelingLabels[mucus.feeling]} + ${textureLabels[mucus.texture]} ( ${computeSensiplanMucusLabels[mucus.value]} )`
|
||||
if (mucus.exclude) mucusLabel = "( " + mucusLabel + " )"
|
||||
return mucusLabel
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user