@@ -16,30 +16,20 @@ import CalendarViewMonthIcon from '@mui/icons-material/CalendarViewMonth';
16
16
import config from '../../config/config.json' ;
17
17
18
18
export default function ResultsTableRow ( { item, handleOpenModal } ) {
19
- console . log ( item ) ;
20
19
return (
21
20
< TableRow >
22
21
< TableCell colSpan = { 6 } sx = { {
23
22
backgroundColor : 'background.paper' ,
24
23
borderTop : '1px solid' ,
25
- borderColor : 'divider'
24
+ borderColor : 'divider' ,
25
+ p : 0
26
26
} } >
27
27
< Box sx = { { p : 0 } } >
28
28
< TableContainer >
29
29
< Table stickyHeader aria-label = "Results table" >
30
30
< TableBody >
31
31
{ item . items . map ( ( dataset ) => (
32
32
< TableRow key = { dataset . id || dataset . dataset } >
33
- < TableCell style = { { width : BEACON_NETWORK_COLUMNS_EXPANDED . beacon_dataset } } > </ TableCell >
34
- < TableCell style = { { width : BEACON_NETWORK_COLUMNS_EXPANDED . beacon_dataset_name } } >
35
- < Box sx = { { display : 'flex' } } >
36
- < Typography sx = { { fontWeight : "bold" } } variant = "body2" > Dataset: </ Typography >
37
- < Typography sx = { { paddingLeft : '5px' } } variant = "body2" > { dataset . dataset } </ Typography >
38
- </ Box >
39
- </ TableCell >
40
- < TableCell sx = { { fontWeight : "bold" } } style = { { width : BEACON_NETWORK_COLUMNS_EXPANDED . beacon_dataset_response } } >
41
- { item . totalResultsCount > 0 ? new Intl . NumberFormat ( navigator . language , { useGrouping : true } ) . format ( Number ( item . totalResultsCount ) ) : '-' }
42
- </ TableCell >
43
33
< TableCell
44
34
style = { {
45
35
width : BEACON_NETWORK_COLUMNS_EXPANDED . beacon_dataset_detail . width ,
@@ -76,6 +66,16 @@ export default function ResultsTableRow({ item, handleOpenModal }) {
76
66
</ Button >
77
67
</ Tooltip >
78
68
</ TableCell >
69
+ < TableCell style = { { width : BEACON_NETWORK_COLUMNS_EXPANDED . beacon_dataset_name } } >
70
+ < Box sx = { { display : 'flex' } } >
71
+ < Typography sx = { { fontWeight : "bold" } } variant = "body2" > Dataset: </ Typography >
72
+ < Typography sx = { { paddingLeft : '5px' } } variant = "body2" > { dataset . dataset } </ Typography >
73
+ </ Box >
74
+ </ TableCell >
75
+ < TableCell sx = { { fontWeight : "bold" } } style = { { width : BEACON_NETWORK_COLUMNS_EXPANDED . beacon_dataset_response } } >
76
+ { item . totalResultsCount > 0 ? new Intl . NumberFormat ( navigator . language , { useGrouping : true } ) . format ( Number ( item . totalResultsCount ) ) : '-' }
77
+ </ TableCell >
78
+
79
79
</ TableRow >
80
80
) ) }
81
81
</ TableBody >
0 commit comments