diff --git a/packages/bruno-app/src/components/CollectionSettings/index.js b/packages/bruno-app/src/components/CollectionSettings/index.js index 5eeed7e38..415ff4bfa 100644 --- a/packages/bruno-app/src/components/CollectionSettings/index.js +++ b/packages/bruno-app/src/components/CollectionSettings/index.js @@ -15,7 +15,7 @@ import Test from './Tests'; import Presets from './Presets'; import StyledWrapper from './StyledWrapper'; import Vars from './Vars/index'; -import Indicator from 'components/Indicators'; +import StatusDot from 'components/StatusDot'; import Overview from './Overview/index'; const CollectionSettings = ({ collection }) => { @@ -147,26 +147,26 @@ const CollectionSettings = ({ collection }) => {
setTab('auth')}> Auth - {authMode !== 'none' && } + {authMode !== 'none' && }
setTab('script')}> Script - {hasScripts && } + {hasScripts && }
setTab('tests')}> Tests - {hasTests && } + {hasTests && }
setTab('presets')}> Presets
setTab('proxy')}> Proxy - {Object.keys(proxyConfig).length > 0 && } + {Object.keys(proxyConfig).length > 0 && }
setTab('clientCert')}> Client Certificates - {clientCertConfig.length > 0 && } + {clientCertConfig.length > 0 && }
{getTabPanel(tab)}
diff --git a/packages/bruno-app/src/components/FolderSettings/index.js b/packages/bruno-app/src/components/FolderSettings/index.js index 79d4a9826..063747807 100644 --- a/packages/bruno-app/src/components/FolderSettings/index.js +++ b/packages/bruno-app/src/components/FolderSettings/index.js @@ -9,7 +9,7 @@ import StyledWrapper from './StyledWrapper'; import Vars from './Vars'; import Documentation from './Documentation'; import Auth from './Auth'; -import Indicator from 'components/Indicators'; +import StatusDot from 'components/StatusDot'; import get from 'lodash/get'; const FolderSettings = ({ collection, folder }) => { @@ -83,11 +83,11 @@ const FolderSettings = ({ collection, folder }) => {
setTab('script')}> Script - {hasScripts && } + {hasScripts && }
setTab('test')}> Test - {hasTests && } + {hasTests && }
setTab('vars')}> Vars @@ -95,7 +95,7 @@ const FolderSettings = ({ collection, folder }) => {
setTab('auth')}> Auth - {hasAuth && } + {hasAuth && }
setTab('docs')}> Docs diff --git a/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js b/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js index 63054f4ff..6be64a43c 100644 --- a/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js +++ b/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js @@ -16,7 +16,7 @@ import { find, get } from 'lodash'; import Documentation from 'components/Documentation/index'; import HeightBoundContainer from 'ui/HeightBoundContainer'; import { useEffect } from 'react'; -import Indicator from 'components/Indicators'; +import StatusDot from 'components/StatusDot'; const HttpRequestPane = ({ item, collection }) => { const dispatch = useDispatch(); @@ -120,7 +120,7 @@ const HttpRequestPane = ({ item, collection }) => {
selectTab('body')}> Body - {body.mode !== 'none' && } + {body.mode !== 'none' && }
selectTab('headers')}> Headers @@ -128,7 +128,7 @@ const HttpRequestPane = ({ item, collection }) => {
selectTab('auth')}> Auth - {auth.mode !== 'none' && } + {auth.mode !== 'none' && }
selectTab('vars')}> Vars @@ -138,8 +138,8 @@ const HttpRequestPane = ({ item, collection }) => { Script {(script.req || script.res) && ( item.preRequestScriptErrorMessage || item.postResponseScriptErrorMessage ? - : - + : + )}
selectTab('assert')}> @@ -150,13 +150,13 @@ const HttpRequestPane = ({ item, collection }) => { Tests {tests && tests.length > 0 && ( item.testScriptErrorMessage ? - : - + : + )}
selectTab('docs')}> Docs - {docs && docs.length > 0 && } + {docs && docs.length > 0 && }
{focusedTab.requestPaneTab === 'body' ? (
diff --git a/packages/bruno-app/src/components/Indicators/index.js b/packages/bruno-app/src/components/StatusDot/index.js similarity index 76% rename from packages/bruno-app/src/components/Indicators/index.js rename to packages/bruno-app/src/components/StatusDot/index.js index 3933cacb2..d5c090efe 100644 --- a/packages/bruno-app/src/components/Indicators/index.js +++ b/packages/bruno-app/src/components/StatusDot/index.js @@ -1,7 +1,7 @@ import React from 'react'; import DotIcon from 'components/Icons/Dot'; -const Indicator = ({ type = 'default' }) => ( +const StatusDot = ({ type = 'default' }) => ( ( ); -export default Indicator; \ No newline at end of file +export default StatusDot; \ No newline at end of file