mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-11 08:28:14 +01:00
fix: fixed query result issue
This commit is contained in:
parent
7513314179
commit
5e2640fe73
@ -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('<head>', `<head><base href="${item.requestSent.url}">`);
|
||||
return (
|
||||
<webview
|
||||
|
Loading…
Reference in New Issue
Block a user