From b102898709adf9bae9df82f6caec5a2d3d092a24 Mon Sep 17 00:00:00 2001 From: lohit Date: Tue, 3 Sep 2024 17:29:51 +0530 Subject: [PATCH] fix: multipart timeline (#3008) * Update package.json * Update package.json * Update package.json * Update package.json * fix: multipart timeline * revert jest command --- .../bruno-app/src/components/ResponsePane/Timeline/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/bruno-app/src/components/ResponsePane/Timeline/index.js b/packages/bruno-app/src/components/ResponsePane/Timeline/index.js index 97745f060..925b4b77b 100644 --- a/packages/bruno-app/src/components/ResponsePane/Timeline/index.js +++ b/packages/bruno-app/src/components/ResponsePane/Timeline/index.js @@ -17,6 +17,8 @@ const Timeline = ({ request, response }) => { }); }); + let requestData = typeof request?.data === "string" ? request?.data : safeStringifyJSON(request?.data, true); + return (
@@ -31,10 +33,10 @@ const Timeline = ({ request, response }) => { ); })} - {request.data ? ( + {requestData ? (
             {'>'} data{' '}
-            
{request.data}
+
{requestData}
) : null}