From 55c8826ab373c72a2282dd44c780905efe8da064 Mon Sep 17 00:00:00 2001 From: nabarun Date: Mon, 5 Dec 2022 16:59:03 +0530 Subject: [PATCH] Hide record type buttons --- .../src/containers/panels/registry/Registry.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/console-app/src/containers/panels/registry/Registry.js b/packages/console-app/src/containers/panels/registry/Registry.js index 440aee1..90ad6e8 100644 --- a/packages/console-app/src/containers/panels/registry/Registry.js +++ b/packages/console-app/src/containers/panels/registry/Registry.js @@ -13,9 +13,10 @@ import Panel from '../../../components/Panel'; import Toolbar from '../../../components/Toolbar'; // import LogPoller from '../../../components/LogPoller'; -import RegistryRecords, { RecordType } from './RegistryRecords'; import RegistryLookup, { LookupType } from './RegistryLookup'; import RegistryStatus from './RegistryStatus'; +import RegistryRecords from './RegistryRecords'; +// import RegistryRecords, { RecordType } from './RegistryRecords'; const TAB_RECORDS = 'records'; const TAB_STATUS = 'status'; @@ -43,8 +44,8 @@ const useStyles = makeStyles(() => ({ const Registry = () => { const classes = useStyles(); const [tab, setTab] = useState(TAB_RECORDS); - const [type, setType] = useState(); const [scope, setScope] = useState(LookupType.default); + // const [type, setType] = useState(); return ( { {/* */} - {tab === TAB_RECORDS && ( + {/* {tab === TAB_RECORDS && ( - )} + )} */} {tab === TAB_LOOKUP && ( )} @@ -69,7 +70,8 @@ const Registry = () => { {tab === TAB_RECORDS && (
- + {/* */} +
)}