Transactions counter in navbar. Moved updateTx from controller to service.
This commit is contained in:
parent
1b545ea444
commit
cb00a5b629
4 changed files with 51 additions and 54 deletions
|
|
@ -23,6 +23,7 @@ angular.module('copay.header').controller('HeaderController',
|
|||
|
||||
$rootScope.$watch('wallet', function(wallet) {
|
||||
if (wallet) {
|
||||
controllerUtils.updateTxs();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue