mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +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 {
|
||||
//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({
|
||||
|
@ -52,8 +52,8 @@
|
||||
var url = GetBasePath('groups') + id + '/children';
|
||||
return url;
|
||||
},
|
||||
rootGroupsUrl: function(id){
|
||||
var url = GetBasePath('inventory') + id+ '/root_groups';
|
||||
groupsUrl: function(id){
|
||||
var url = GetBasePath('inventory') + id+ '/groups';
|
||||
return url;
|
||||
},
|
||||
inventorySourcesOptions: function(inventoryId) {
|
||||
|
Loading…
Reference in New Issue
Block a user