From b25f5010df0f6b72e2dc838f1b292e63cebd06a9 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Tue, 21 Oct 2025 10:33:42 -0700 Subject: [PATCH] fix: correct display for delete sub-org button --- .../components/OrgDeleteSection/OrgDeleteSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgDeleteSection/OrgDeleteSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgDeleteSection/OrgDeleteSection.tsx index e78ad61b9..4dfe89f71 100644 --- a/frontend/src/pages/organization/SettingsPage/components/OrgDeleteSection/OrgDeleteSection.tsx +++ b/frontend/src/pages/organization/SettingsPage/components/OrgDeleteSection/OrgDeleteSection.tsx @@ -55,7 +55,7 @@ export const OrgDeleteSection = () => { onClick={() => handlePopUpOpen("deleteOrg")} isDisabled={Boolean(!hasOrgRole(OrgMembershipRole.Admin))} > - {`Delete ${currentOrg?.name}`} + {`Delete ${currentOrg.subOrganization?.name ?? currentOrg?.name}`}