Activate caching for bitpay card
This commit is contained in:
parent
9196e07f3a
commit
3f2f169db3
5 changed files with 104 additions and 52 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue