Bring in different shades for desire dots on chart
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user