mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Fixes URL used for root groups for pagination purposes.
Changes from 'inventories/:inventory_id/root_groups' to 'inventories/:inventory_id/groups'. Includes changing the function name for root groups based on PR feedback.
This commit is contained in:
parent
dd944319f1
commit
782b9b8bec
@ -54,7 +54,7 @@ export default {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//reaches here if the user is on the root level group
|
//reaches here if the user is on the root level group
|
||||||
list.basePath = GetBasePath('inventory') + $stateParams.inventory_id + '/root_groups';
|
list.basePath = GetBasePath('inventory') + $stateParams.inventory_id + '/groups';
|
||||||
}
|
}
|
||||||
|
|
||||||
let html = generateList.build({
|
let html = generateList.build({
|
||||||
|
@ -52,8 +52,8 @@
|
|||||||
var url = GetBasePath('groups') + id + '/children';
|
var url = GetBasePath('groups') + id + '/children';
|
||||||
return url;
|
return url;
|
||||||
},
|
},
|
||||||
rootGroupsUrl: function(id){
|
groupsUrl: function(id){
|
||||||
var url = GetBasePath('inventory') + id+ '/root_groups';
|
var url = GetBasePath('inventory') + id+ '/groups';
|
||||||
return url;
|
return url;
|
||||||
},
|
},
|
||||||
inventorySourcesOptions: function(inventoryId) {
|
inventorySourcesOptions: function(inventoryId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user