From a86f0a804bf8d1ff37d9027930aad1fdcbde3ad6 Mon Sep 17 00:00:00 2001
From: Tom van der Lee <tom@vanderlee.io>
Date: Wed, 16 Feb 2022 21:10:39 +0100
Subject: Added a timestamp

---
 src/components/RequestList/RequestList.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/RequestList/RequestList.tsx')

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({
       )
       .filter(
         ([index, request]) =>
-          search === "" ||
-          searchRegex.test(`${request.request.method} ${request.request.path}`)
+          search === "" || searchRegex.test(request.request.path)
       );
   }, [requests, search, enabledMethods, enableRegex]);
 
@@ -168,6 +167,7 @@ export default function RequestList({
                 <RequestSummary
                   requestResponse={requestResponse}
                   selected={selected}
+                  showTime
                 />
               </ListGroup.Item>
             );
@@ -205,7 +205,7 @@ export default function RequestList({
               onChange={() => setEnableRegex(!enableRegex)}
             />
           </Form.Group>
-          <Form.Group>
+          <Form.Group className="mb-4">
             <Form.Label className="fw-bold">Method</Form.Label>
             {Object.entries(methods).map(([method, enabled]) => (
               <Form.Check
-- 
cgit v1.2.3

