Activate caching for bitpay card

This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-07 13:51:55 -03:00
commit 3f2f169db3
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 104 additions and 52 deletions

View file

@ -206,12 +206,10 @@ angular.module('copayApp.controllers').controller('tabHomeController',
if (err) return;
$scope.bitpayCards = data.cards;
});
/*
bitpayCardService.getCacheData(function(err, data) {
bitpayCardService.getBitpayDebitCardsHistory(null, function(err, data) {
if (err ||  lodash.isEmpty(data)) return;
$scope.bitpayCard = data;
$scope.cardsHistory = data;
});
*/
};
$scope.onRefresh = function() {