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>
(cherry picked from commit 03c2629)
  • Loading branch information
edewit authored and hmlnarik committed May 7, 2024
1 parent 6994dcf commit d83ae90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,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 d83ae90

Please sign in to comment.