Fixed add inventory form

This commit is contained in:
Michael Abashian
2017-04-06 16:33:12 -04:00
committed by Jared Tabor
parent 6608819c95
commit 2e177598c2

View File

@@ -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
]; ];