1
0
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:
Jared Tabor 2018-05-30 15:36:20 -07:00
parent dd944319f1
commit 782b9b8bec
2 changed files with 3 additions and 3 deletions

View File

@ -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({

View File

@ -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) {