undefined in localtxs array

This commit is contained in:
Gabriel Bazán 2015-11-02 10:50:58 -03:00
parent 621ebc6b4d
commit 538d1b04e3
2 changed files with 3 additions and 4 deletions

View File

@ -459,7 +459,7 @@
</div>
<div class="row m20t text-center" ng-show="index.updatingTxHistory">
<div class="columns large-12 medium-12 small-12">
<div class="spinner" ng-if="index.updatingTxHistory">
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>

View File

@ -768,8 +768,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
} catch (ex) {
$log.warn(ex);
}
return cb(null, self.removeSoftConfirmedTx(localTxs));
return cb(null, lodash.compact(self.removeSoftConfirmedTx(localTxs)));
});
}
@ -1019,7 +1018,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
return;
}
self.addressbook = ab;
});
});
};
$rootScope.$on('Local/ClearHistory', function(event) {