Skip to content

Commit 4adedce

Browse files
committed
feat(sub-org): display sub-organization ID in settings page
Add a read-only Sub-Organization ID field to SubOrgNameChangeSection, matching the existing Organization ID field in OrgNameChangeSection. Made-with: Cursor
1 parent 081f030 commit 4adedce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/SubOrgNameChangeSection.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ export const SubOrgNameChangeSection = (): JSX.Element => {
9292
name="name"
9393
/>
9494
</div>
95+
<div className="mb-4">
96+
<h2 className="text-md mb-2 text-mineshaft-100">Sub-Organization ID</h2>
97+
<FormControl className="max-w-md">
98+
<Input isDisabled value={currentOrg.id} />
99+
</FormControl>
100+
</div>
95101
<div className="mb-4">
96102
<h2 className="text-md mb-2 text-mineshaft-100">Sub-Organization Slug</h2>
97103
<Controller

0 commit comments

Comments
 (0)