File tree 1 file changed +31
-34
lines changed
src/application/components
1 file changed +31
-34
lines changed Original file line number Diff line number Diff line change @@ -63,40 +63,37 @@ export function ConnectorsTable({
63
63
< Tbody >
64
64
{ data . map ( ( { id, request, response } ) => {
65
65
return (
66
- < Tooltip key = { id } content = "View more details" >
67
- < Tr
68
- onClick = { ( ) =>
69
- navigate ( `/connectors/${ resultId } /requests/${ id } ` )
70
- }
71
- >
72
- { columns . map ( ( col ) => {
73
- return (
74
- < Fragment key = { col } >
75
- { col === "id" && < Td > { id } </ Td > }
76
- { col === "url" && (
77
- < Td className = "whitespace-nowrap" >
78
- { request ?. url }
79
- </ Td >
80
- ) }
81
- { col === "status" && (
82
- < Td >
83
- < HTTPStatusBadge
84
- status = { response ?. status }
85
- variant = "terse"
86
- />
87
- </ Td >
88
- ) }
89
- { col === "method" && < Td > { request ?. method } </ Td > }
90
- { col === "errors" && (
91
- < Td >
92
- { response ?. body ?. selection ?. errors ?. length ?? 0 }
93
- </ Td >
94
- ) }
95
- </ Fragment >
96
- ) ;
97
- } ) }
98
- </ Tr >
99
- </ Tooltip >
66
+ < Tr
67
+ key = { id }
68
+ onClick = { ( ) =>
69
+ navigate ( `/connectors/${ resultId } /requests/${ id } ` )
70
+ }
71
+ >
72
+ { columns . map ( ( col ) => {
73
+ return (
74
+ < Fragment key = { col } >
75
+ { col === "id" && < Td > { id } </ Td > }
76
+ { col === "url" && (
77
+ < Td className = "whitespace-nowrap" > { request ?. url } </ Td >
78
+ ) }
79
+ { col === "status" && (
80
+ < Td >
81
+ < HTTPStatusBadge
82
+ status = { response ?. status }
83
+ variant = "terse"
84
+ />
85
+ </ Td >
86
+ ) }
87
+ { col === "method" && < Td > { request ?. method } </ Td > }
88
+ { col === "errors" && (
89
+ < Td >
90
+ { response ?. body ?. selection ?. errors ?. length ?? 0 }
91
+ </ Td >
92
+ ) }
93
+ </ Fragment >
94
+ ) ;
95
+ } ) }
96
+ </ Tr >
100
97
) ;
101
98
} ) }
102
99
</ Tbody >
You can’t perform that action at this time.
0 commit comments