diff --git a/packages/bruno-app/src/components/CollectionSettings/index.js b/packages/bruno-app/src/components/CollectionSettings/index.js index ef220351a..cfae046b7 100644 --- a/packages/bruno-app/src/components/CollectionSettings/index.js +++ b/packages/bruno-app/src/components/CollectionSettings/index.js @@ -44,6 +44,7 @@ const CollectionSettings = ({ collection }) => { const authMode = get(collection, 'root.request.auth', {}).mode || 'none'; const proxyConfig = get(collection, 'brunoConfig.proxy', {}); + let proxyEnabled = proxyConfig.hostname ? true : false; const clientCertConfig = get(collection, 'brunoConfig.clientCertificates.certs', []); @@ -162,7 +163,7 @@ const CollectionSettings = ({ collection }) => {
setTab('proxy')}> Proxy - {Object.keys(proxyConfig).length > 0 && } + {Object.keys(proxyConfig).length > 0 && proxyEnabled && }
setTab('clientCert')}> Client Certificates