Skip to content

Commit

Permalink
run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal committed Jul 12, 2024
1 parent 25d1a89 commit e528b80
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions datahub-web-react/src/app/ingest/ManageIngestionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<TabType>(defaultTab);

Expand Down

0 comments on commit e528b80

Please sign in to comment.