Merge branch '414-bug-darker-color-in-dots-for-sex-and-desire-on-chart-is-missing' into 'master'

Bring in different shades for desire dots on chart

Closes #414

See merge request bloodyhealth/drip!265
This commit is contained in:
bl00dymarie
2020-03-27 16:15:22 +00:00
+6 -2
View File
@@ -161,9 +161,13 @@ export const symptomColorMethods = {
const colorIndex = value
return colorIndex
},
'default': () => { // desire, pain, mood, note
const colorIndex = 0
'desire': (symptomData) => {
const { value } = symptomData
const colorIndex = value
return colorIndex
},
'default': () => { //pain, mood, note
return 0
}
}