Skip to content

Commit

Permalink
fix Domains & SSO still available in "Settings" even if disabled in S…
Browse files Browse the repository at this point in the history
…tyle #122
  • Loading branch information
pnzrr committed Oct 3, 2024
1 parent f6527d5 commit e564f87
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pages/organizations/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@ export default function OrganizationSettings() {
/>
</>
)}
<hr className="my-10 dark:border-zinc-600" />
<SettingsSSO hasManageIDPRole={hasManageIDPRole} />
{featureFlags.orgSsoEnabled && (
<>
<hr className="my-10 dark:border-zinc-600" />
<SettingsSSO hasManageIDPRole={hasManageIDPRole} />
</>
)}
</PrimaryContentArea>
</FixedWidthMainContent>
</>
Expand Down

0 comments on commit e564f87

Please sign in to comment.