Skip to content

Commit

Permalink
use subGroupCount instead (keycloak#28719)
Browse files Browse the repository at this point in the history
fixes: keycloak#28684

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
  • Loading branch information
edewit committed Apr 15, 2024
1 parent 2ab8bf8 commit 03c2629
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const Group = () => {
name="extendChildren"
isChecked={field.value}
onChange={field.onChange}
isDisabled={group.subGroups?.length === 0}
isDisabled={group.subGroupCount === 0}
/>
)}
/>
Expand Down

0 comments on commit 03c2629

Please sign in to comment.