diff options
| author | 2022-02-16 21:10:39 +0100 | |
|---|---|---|
| committer | 2022-02-16 21:10:39 +0100 | |
| commit | a86f0a804bf8d1ff37d9027930aad1fdcbde3ad6 (patch) | |
| tree | f9c8eff30e1f38cf7f3320590eadbdbe2af5291f /src/components/RequestList/RequestList.tsx | |
| parent | e2aed74b7a9807bf87a9bf337c8a2e84a4bcbfde (diff) | |
| download | client-a86f0a804bf8d1ff37d9027930aad1fdcbde3ad6.tar.gz client-a86f0a804bf8d1ff37d9027930aad1fdcbde3ad6.tar.bz2 client-a86f0a804bf8d1ff37d9027930aad1fdcbde3ad6.zip | |
Added a timestampv1.4.0.post1v1.4.0
Diffstat (limited to 'src/components/RequestList/RequestList.tsx')
| -rw-r--r-- | src/components/RequestList/RequestList.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/RequestList/RequestList.tsx b/src/components/RequestList/RequestList.tsx index 06a78a3..acef47a 100644 --- a/src/components/RequestList/RequestList.tsx +++ b/src/components/RequestList/RequestList.tsx | |||
| @@ -106,8 +106,7 @@ export default function RequestList({ | |||
| 106 | ) | 106 | ) |
| 107 | .filter( | 107 | .filter( |
| 108 | ([index, request]) => | 108 | ([index, request]) => |
| 109 | search === "" || | 109 | search === "" || searchRegex.test(request.request.path) |
| 110 | searchRegex.test(`${request.request.method} ${request.request.path}`) | ||
| 111 | ); | 110 | ); |
| 112 | }, [requests, search, enabledMethods, enableRegex]); | 111 | }, [requests, search, enabledMethods, enableRegex]); |
| 113 | 112 | ||
| @@ -168,6 +167,7 @@ export default function RequestList({ | |||
| 168 | <RequestSummary | 167 | <RequestSummary |
| 169 | requestResponse={requestResponse} | 168 | requestResponse={requestResponse} |
| 170 | selected={selected} | 169 | selected={selected} |
| 170 | showTime | ||
| 171 | /> | 171 | /> |
| 172 | </ListGroup.Item> | 172 | </ListGroup.Item> |
| 173 | ); | 173 | ); |
| @@ -205,7 +205,7 @@ export default function RequestList({ | |||
| 205 | onChange={() => setEnableRegex(!enableRegex)} | 205 | onChange={() => setEnableRegex(!enableRegex)} |
| 206 | /> | 206 | /> |
| 207 | </Form.Group> | 207 | </Form.Group> |
| 208 | <Form.Group> | 208 | <Form.Group className="mb-4"> |
| 209 | <Form.Label className="fw-bold">Method</Form.Label> | 209 | <Form.Label className="fw-bold">Method</Form.Label> |
| 210 | {Object.entries(methods).map(([method, enabled]) => ( | 210 | {Object.entries(methods).map(([method, enabled]) => ( |
| 211 | <Form.Check | 211 | <Form.Check |
