Bring in different shades for desire dots on chart
This commit is contained in:
1 parent
17815fcefe
commit
268ec56c88
1 file changed
+6
-2
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user