mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
Fixed bug where organization inventory/project lists were not being rendered
This commit is contained in:
parent
4a0d189e4d
commit
453df905ec
@ -156,7 +156,7 @@ export default [{
|
||||
url: '/:organization_id/inventories',
|
||||
searchPrefix: 'inventory',
|
||||
views: {
|
||||
'form@': {
|
||||
'form': {
|
||||
controller: OrganizationsInventories,
|
||||
templateProvider: function(OrgInventoryList, generateList) {
|
||||
let html = generateList.build({
|
||||
@ -202,7 +202,7 @@ export default [{
|
||||
url: '/:organization_id/projects',
|
||||
searchPrefix: 'project',
|
||||
views: {
|
||||
'form@': {
|
||||
'form': {
|
||||
controller: OrganizationsProjects,
|
||||
templateProvider: function(OrgProjectList, generateList) {
|
||||
let html = generateList.build({
|
||||
@ -231,8 +231,8 @@ export default [{
|
||||
features: ['FeaturesService', function(FeaturesService) {
|
||||
return FeaturesService.get();
|
||||
}],
|
||||
OrgProjectList: ['ProjectList', 'GetBasePath', '$stateParams', function(InventoryList, GetBasePath, $stateParams) {
|
||||
let list = _.cloneDeep(InventoryList);
|
||||
OrgProjectList: ['ProjectList', 'GetBasePath', '$stateParams', function(ProjectList, GetBasePath, $stateParams) {
|
||||
let list = _.cloneDeep(ProjectList);
|
||||
delete list.actions;
|
||||
// @issue Why is the delete action unavailable in this view?
|
||||
delete list.fieldActions.delete;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user