mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 01:47:31 -02:30
Fixed add inventory form
This commit is contained in:
committed by
Jared Tabor
parent
6608819c95
commit
2e177598c2
@@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function InventoriesAdd($scope, $location,
|
function InventoriesAdd($scope, $location,
|
||||||
GenerateForm, InventoryForm, rbacUiControlService, Rest, Alert, ProcessErrors,
|
GenerateForm, InventoriesForm, rbacUiControlService, Rest, Alert, ProcessErrors,
|
||||||
ClearScope, GetBasePath, ParseTypeChange, Wait, ToJSON,
|
ClearScope, GetBasePath, ParseTypeChange, Wait, ToJSON,
|
||||||
$state) {
|
$state) {
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ function InventoriesAdd($scope, $location,
|
|||||||
|
|
||||||
// Inject dynamic view
|
// Inject dynamic view
|
||||||
var defaultUrl = GetBasePath('inventory'),
|
var defaultUrl = GetBasePath('inventory'),
|
||||||
form = InventoryForm;
|
form = InventoriesForm;
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|
||||||
@@ -98,7 +98,7 @@ function InventoriesAdd($scope, $location,
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default ['$scope', '$location',
|
export default ['$scope', '$location',
|
||||||
'GenerateForm', 'InventoryForm', 'rbacUiControlService', 'Rest', 'Alert',
|
'GenerateForm', 'InventoriesForm', 'rbacUiControlService', 'Rest', 'Alert',
|
||||||
'ProcessErrors', 'ClearScope', 'GetBasePath', 'ParseTypeChange',
|
'ProcessErrors', 'ClearScope', 'GetBasePath', 'ParseTypeChange',
|
||||||
'Wait', 'ToJSON', '$state', InventoriesAdd
|
'Wait', 'ToJSON', '$state', InventoriesAdd
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user