use subGroupCount instead (#28719)
fixes: #28684 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
2ab8bf852d
commit
03c2629afc
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ export const Group = () => {
|
||||||
name="extendChildren"
|
name="extendChildren"
|
||||||
isChecked={field.value}
|
isChecked={field.value}
|
||||||
onChange={field.onChange}
|
onChange={field.onChange}
|
||||||
isDisabled={group.subGroups?.length === 0}
|
isDisabled={group.subGroupCount === 0}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue