add badge to recent txs

This commit is contained in:
Matias Alejo Garcia 2017-01-18 11:00:51 -03:00
commit 9e33cde4cf
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
5 changed files with 13 additions and 6 deletions

View file

@ -242,12 +242,13 @@ angular.module('copayApp.controllers').controller('tabHomeController',
var getNotifications = function() {
profileService.getNotifications({
limit: 3
}, function(err, n) {
}, function(err, notifications, total) {
if (err) {
$log.error(err);
return;
}
$scope.notifications = n;
$scope.notifications = notifications;
$scope.notificationsN = total;
$timeout(function() {
$ionicScrollDelegate.resize();
$scope.$apply();