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 6, 2024
1 parent 109f20e commit d0d9d2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,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 d0d9d2f

Please sign in to comment.