From 5e2640fe7392656ca0c1808090739d8926cc7dd1 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Wed, 4 Oct 2023 05:48:05 +0530 Subject: [PATCH] fix: fixed query result issue --- .../src/components/ResponsePane/QueryResult/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bruno-app/src/components/ResponsePane/QueryResult/index.js b/packages/bruno-app/src/components/ResponsePane/QueryResult/index.js index 96624a02b..5729e0b2d 100644 --- a/packages/bruno-app/src/components/ResponsePane/QueryResult/index.js +++ b/packages/bruno-app/src/components/ResponsePane/QueryResult/index.js @@ -87,8 +87,8 @@ const QueryResult = ({ item, collection, data, width, disableRunEventListener, h }; const activeResult = useMemo(() => { - if (tab === 'preview') { - // Add the Base tag to the head so content loads proparly. This also needs the correct CSP settings + if (tab === 'preview' && mode.includes('html')) { + // Add the Base tag to the head so content loads properly. This also needs the correct CSP settings const webViewSrc = data.replace('', ``); return (