diff --git a/js/apps/admin-ui/src/clients/authorization/policy/Group.tsx b/js/apps/admin-ui/src/clients/authorization/policy/Group.tsx index 84bb0326e0..b0edb7b724 100644 --- a/js/apps/admin-ui/src/clients/authorization/policy/Group.tsx +++ b/js/apps/admin-ui/src/clients/authorization/policy/Group.tsx @@ -134,7 +134,7 @@ export const Group = () => { name="extendChildren" isChecked={field.value} onChange={field.onChange} - isDisabled={group.subGroups?.length === 0} + isDisabled={group.subGroupCount === 0} /> )} />