Inventory Type editing
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
$scope.$parent.$close();
|
||||
})
|
||||
.error(function(data) {
|
||||
vm.errorMessage = 'There was a problem saving changes to the inventory: ' + data;
|
||||
vm.errorMessage = 'There was a problem saving changes to the inventory: ' + data.errorMessage;
|
||||
})
|
||||
.finally(function() {
|
||||
vm.saving = false;
|
||||
|
||||
Reference in New Issue
Block a user