Fix sidebar and self definition

This commit is contained in:
Gustavo Maximiliano Cortez 2016-07-29 15:47:45 -03:00
commit 54fa81e975
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 3 additions and 2 deletions

View file

@ -22,6 +22,7 @@ angular.module('copayApp.controllers').controller('amazonController',
}
this.updatePendingGiftCards = lodash.debounce(function() {
var self = this;
amazonService.getPendingGiftCards(function(err, gcds) {
lodash.forEach(gcds, function(dataFromStorage) {