@@ -27,7 +27,6 @@ class SupportOverview extends Component {
2727 { "title" : "Total # of Gifts" , "value" : data . number_of_gifts } ,
2828 { "title" : "Largest Gift" , "value" : `$${ data . largest_gift . toFixed ( 2 ) } ` } ,
2929 { "title" : "Recurring Donor?" , "value" : data . is_recurring ? "Yes" : "No" } ,
30- { "title" : "RFM Score" , "value" : data . rfm_score }
3130 // { "title": "PAWS Legacy Society?", "value": "test" }
3231 ]
3332 return rows ;
@@ -42,13 +41,9 @@ class SupportOverview extends Component {
4241 </ Typography >
4342 </ Grid >
4443 < Grid item >
45- { ( row . rfm_color )
46- ? < Typography variant = { 'body2' } align = { "right" } style = { { "background" : row . rfm_color , "color" : row . rfm_text_color } } >
44+ < Typography variant = { 'body2' } align = { "right" } >
4745 { row . value }
4846 </ Typography >
49- : < Typography variant = { 'body2' } align = { "right" } >
50- { row . value }
51- </ Typography > }
5247 </ Grid >
5348 </ Grid >
5449 ) ) ;
@@ -63,10 +58,9 @@ class SupportOverview extends Component {
6358 < Container className = { classes . containerInfo } >
6459 < Grid container direction = { 'column' } >
6560 < Grid container className = { classes . spacingRows } direction = { 'row' } justify = 'center' >
66- < Grid item style = { { "background" : data . rfm_color , " borderRadius" : "5px" , "color" : data . rfm_text_color , "paddingLeft" : "1rem" , "paddingRight" : "1rem" } } >
61+ < Grid item style = { { "borderRadius" : "5px" , "paddingLeft" : "1rem" , "paddingRight" : "1rem" } } >
6762 < Typography variant = { 'subtitle1' } >
6863 < b > Support Overview</ b >
69- < p style = { { "fontSize" : "0.875rem" , "textAlign" : "center" } } > { data . rfm_label } </ p >
7064 </ Typography >
7165 </ Grid >
7266 </ Grid >
0 commit comments