File tree Expand file tree Collapse file tree 1 file changed +19
-13
lines changed
ui/packages/shared/pages/Instance/Info/Retrieval/RetrievalTable Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,25 @@ export const RetrievalTable = ({
2424 </ TableRow >
2525 </ TableHead >
2626 < TableBody className = { styles . tableBody } >
27- { data
28- ? data . map ( ( item ) => (
29- < div >
30- { Object . entries ( item ) . map ( ( val , index ) => (
31- < TableRow key = { index } hover className = { styles . tableRow } >
32- < TableCell >
33- { val [ 0 ] } : { val [ 1 ] }
34- </ TableCell >
35- </ TableRow >
36- ) ) }
37- </ div >
38- ) )
39- : null }
27+ { data ? (
28+ data . map ( ( item ) => (
29+ < div >
30+ { Object . entries ( item ) . map ( ( val , index ) => (
31+ < TableRow key = { index } hover className = { styles . tableRow } >
32+ < TableCell >
33+ { val [ 0 ] } : { val [ 1 ] }
34+ </ TableCell >
35+ </ TableRow >
36+ ) ) }
37+ </ div >
38+ ) )
39+ ) : (
40+ < TableRow className = { styles . tableRow } >
41+ < TableCell >
42+ No activity on the { activity }
43+ </ TableCell >
44+ </ TableRow >
45+ ) }
4046 </ TableBody >
4147 </ Table >
4248 )
You can’t perform that action at this time.
0 commit comments