File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -175,15 +175,9 @@ class Admin extends Component {
175
175
: _ . isEmpty ( this . state . statistics ) !== true &&
176
176
< TableContainer component = { Paper } className = "statisticsData" >
177
177
< Table aria-label = "simple table" className = { classes . table } >
178
- < TableHead >
179
- < TableRow >
180
- < TableCell > Sources Matched</ TableCell >
181
- < TableCell align = "left" > Number of Matches</ TableCell >
182
- </ TableRow >
183
- </ TableHead >
184
178
< TableBody >
185
- { this . state . statistics . map ( ( row ) => (
186
- < TableRow key = { row [ 0 ] } >
179
+ { this . state . statistics . map ( ( row , index ) => (
180
+ < TableRow key = { index } >
187
181
< TableCell align = "left" component = "th" scope = "row" >
188
182
{ row [ 0 ] }
189
183
</ TableCell >
Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ def get_statistics():
105
105
106
106
# Need to iterate over the results proxy
107
107
results = {
108
- "matches count " : [dict (row ) for row in matches_count_query_result ][0 ]["count" ],
109
- "total contacts count " : [dict (row ) for row in total_count_query_result ][0 ]["count" ]
108
+ "Distinct Matching Groups Count " : [dict (row ) for row in matches_count_query_result ][0 ]["count" ],
109
+ "Total Contacts Count " : [dict (row ) for row in total_count_query_result ][0 ]["count" ]
110
110
}
111
111
112
112
return results
You can’t perform that action at this time.
0 commit comments