mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix: correct display for delete sub-org button
This commit is contained in:
@@ -55,7 +55,7 @@ export const OrgDeleteSection = () => {
|
||||
onClick={() => handlePopUpOpen("deleteOrg")}
|
||||
isDisabled={Boolean(!hasOrgRole(OrgMembershipRole.Admin))}
|
||||
>
|
||||
{`Delete ${currentOrg?.name}`}
|
||||
{`Delete ${currentOrg.subOrganization?.name ?? currentOrg?.name}`}
|
||||
</Button>
|
||||
</div>
|
||||
<DeleteActionModal
|
||||
|
||||
Reference in New Issue
Block a user