Skip to content
Snippets Groups Projects
Commit 620f5e77 authored by bl00dymarie's avatar bl00dymarie
Browse files

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
parents 9235a57f 268ec56c
No related branches found
No related tags found
No related merge requests found
...@@ -161,9 +161,13 @@ export const symptomColorMethods = { ...@@ -161,9 +161,13 @@ export const symptomColorMethods = {
const colorIndex = value const colorIndex = value
return colorIndex return colorIndex
}, },
'default': () => { // desire, pain, mood, note 'desire': (symptomData) => {
const colorIndex = 0 const { value } = symptomData
const colorIndex = value
return colorIndex return colorIndex
},
'default': () => { //pain, mood, note
return 0
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment