Fix flashing get started message

This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-16 20:00:38 -03:00
commit 13d85c193d
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,9 @@ angular.module('copayApp.controllers').controller('bitpayCardController', functi
$scope.network = bitpayCardService.getEnvironment();
var getFromCache = function(cb) {
$scope.loadingCache = true;
bitpayCardService.getBitpayDebitCardsHistory($scope.cardId, function(err, data) {
$scope.loadingCache = false;
if (err || lodash.isEmpty(data)) return cb();
$scope.historyCached = true;
self.bitpayCardTransactionHistory = data.transactions;