diff --git a/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js b/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js index bd5722066..d2032f7f4 100644 --- a/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js +++ b/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js @@ -97,6 +97,7 @@ const HttpRequestPane = ({ item, collection, leftPaneWidth }) => { const script = getPropertyFromDraftOrRequest('request.script'); const assertions = getPropertyFromDraftOrRequest('request.assertions'); const tests = getPropertyFromDraftOrRequest('request.tests'); + const docs = getPropertyFromDraftOrRequest('request.docs'); const requestVars = getPropertyFromDraftOrRequest('request.vars.req'); const responseVars = getPropertyFromDraftOrRequest('request.vars.res'); @@ -139,10 +140,11 @@ const HttpRequestPane = ({ item, collection, leftPaneWidth }) => {
selectTab('tests')}> Tests - {tests && } + {tests && tests.length > 0 && }
selectTab('docs')}> Docs + {docs && docs.length > 0 && }
{focusedTab.requestPaneTab === 'body' ? (