add badge to recent txs
This commit is contained in:
parent
a99a133814
commit
9e33cde4cf
5 changed files with 13 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue