adding cancel status on amazon activity view

This commit is contained in:
Gabriel Bazán 2016-08-03 18:27:44 -03:00 committed by Gustavo Maximiliano Cortez
commit b6e13b1165
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 14 additions and 2 deletions

View file

@ -10,7 +10,10 @@ angular.module('copayApp.controllers').controller('amazonCardDetailsController',
$scope.error = bwcError.msg(err);
return;
}
$scope.$emit('UpdateAmazonList');
$scope.card.cardStatus = data.cardStatus;
amazonService.savePendingGiftCard($scope.card, null, function(err) {
$scope.$emit('UpdateAmazonList');
});
});
};