@@ -27,7 +27,6 @@ class SupportOverview extends Component {
27
27
{ "title" : "Total # of Gifts" , "value" : data . number_of_gifts } ,
28
28
{ "title" : "Largest Gift" , "value" : `$${ data . largest_gift . toFixed ( 2 ) } ` } ,
29
29
{ "title" : "Recurring Donor?" , "value" : data . is_recurring ? "Yes" : "No" } ,
30
- { "title" : "RFM Score" , "value" : data . rfm_score }
31
30
// { "title": "PAWS Legacy Society?", "value": "test" }
32
31
]
33
32
return rows ;
@@ -42,13 +41,9 @@ class SupportOverview extends Component {
42
41
</ Typography >
43
42
</ Grid >
44
43
< 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" } >
47
45
{ row . value }
48
46
</ Typography >
49
- : < Typography variant = { 'body2' } align = { "right" } >
50
- { row . value }
51
- </ Typography > }
52
47
</ Grid >
53
48
</ Grid >
54
49
) ) ;
@@ -63,10 +58,9 @@ class SupportOverview extends Component {
63
58
< Container className = { classes . containerInfo } >
64
59
< Grid container direction = { 'column' } >
65
60
< 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" } } >
67
62
< Typography variant = { 'subtitle1' } >
68
63
< b > Support Overview</ b >
69
- < p style = { { "fontSize" : "0.875rem" , "textAlign" : "center" } } > { data . rfm_label } </ p >
70
64
</ Typography >
71
65
</ Grid >
72
66
</ Grid >
0 commit comments