diff --git a/awx/ui/client/src/inventories-hosts/inventories/related/groups/related/nested-groups/group-nested-groups.list.js b/awx/ui/client/src/inventories-hosts/inventories/related/groups/related/nested-groups/group-nested-groups.list.js index 22f65aac94..8e738f1d37 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/related/groups/related/nested-groups/group-nested-groups.list.js +++ b/awx/ui/client/src/inventories-hosts/inventories/related/groups/related/nested-groups/group-nested-groups.list.js @@ -15,7 +15,7 @@ hover: true, multiSelect: true, trackBy: 'nested_group.id', - basePath: 'api/v2/inventories/{{$stateParams.inventory_id}}/root_groups/', + basePath: 'api/v2/groups/{{$stateParams.group_id}}/children/', fields: { failed_hosts: { diff --git a/awx/ui/client/src/inventories-hosts/inventories/related/hosts/related/nested-groups/host-nested-groups.list.js b/awx/ui/client/src/inventories-hosts/inventories/related/hosts/related/nested-groups/host-nested-groups.list.js index 62bef5d028..a41e3399f5 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/related/hosts/related/nested-groups/host-nested-groups.list.js +++ b/awx/ui/client/src/inventories-hosts/inventories/related/hosts/related/nested-groups/host-nested-groups.list.js @@ -15,7 +15,7 @@ hover: true, multiSelect: true, trackBy: 'nested_group.id', - basePath: 'api/v2/inventories/{{$stateParams.inventory_id}}/root_groups/', + basePath: 'api/v2/hosts/{{$stateParams.host_id}}/all_groups/', fields: { failed_hosts: {