From e528b80eedbe6c535ea7baf5ef884f27f6585d8f Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Fri, 12 Jul 2024 19:10:06 +0530 Subject: [PATCH] run formatter --- datahub-web-react/src/app/ingest/ManageIngestionPage.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/datahub-web-react/src/app/ingest/ManageIngestionPage.tsx b/datahub-web-react/src/app/ingest/ManageIngestionPage.tsx index 5e58d75c5fe90..6af924be99a6a 100644 --- a/datahub-web-react/src/app/ingest/ManageIngestionPage.tsx +++ b/datahub-web-react/src/app/ingest/ManageIngestionPage.tsx @@ -53,10 +53,8 @@ export const ManageIngestionPage = () => { const me = useUserContext(); const { config } = useAppConfig(); const isIngestionEnabled = config?.managedIngestionConfig.enabled; - const showIngestionTab = - isIngestionEnabled && me && me.platformPrivileges?.manageIngestion; - const showSecretsTab = - isIngestionEnabled && me && me.platformPrivileges?.manageSecrets; + const showIngestionTab = isIngestionEnabled && me && me.platformPrivileges?.manageIngestion; + const showSecretsTab = isIngestionEnabled && me && me.platformPrivileges?.manageSecrets; const defaultTab = showIngestionTab ? TabType.Sources : TabType.Secrets; const [selectedTab, setSelectedTab] = useState(defaultTab);