For the sake of not exceeding max line length
This commit is contained in:
@@ -117,7 +117,11 @@ function getLabel(symptomName, symptom) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mucus: mucus => {
|
mucus: mucus => {
|
||||||
if (typeof mucus.feeling === 'number' && typeof mucus.texture === 'number' && typeof mucus.value === 'number') {
|
if (
|
||||||
|
typeof mucus.feeling === 'number' &&
|
||||||
|
typeof mucus.texture === 'number' &&
|
||||||
|
typeof mucus.value === 'number'
|
||||||
|
) {
|
||||||
let mucusLabel = `${feelingLabels[mucus.feeling]} + ${textureLabels[mucus.texture]} ( ${computeSensiplanMucusLabels[mucus.value]} )`
|
let mucusLabel = `${feelingLabels[mucus.feeling]} + ${textureLabels[mucus.texture]} ( ${computeSensiplanMucusLabels[mucus.value]} )`
|
||||||
if (mucus.exclude) mucusLabel = "( " + mucusLabel + " )"
|
if (mucus.exclude) mucusLabel = "( " + mucusLabel + " )"
|
||||||
return mucusLabel
|
return mucusLabel
|
||||||
|
|||||||
Reference in New Issue
Block a user