Clean pendingForUs when change wallet. Fix root.go
This commit is contained in:
parent
fead9403a6
commit
68678613b7
2 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.notAuthorized = false;
|
||||
self.txHistory = [];
|
||||
self.txHistoryPaging = false;
|
||||
self.pendingTxProposalsCountForUs = null;
|
||||
|
||||
$timeout(function() {
|
||||
self.hasProfile = true;
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
|
|||
root.path = function(path, cb) {
|
||||
$state.transitionTo(path)
|
||||
.then(function() {
|
||||
$rootScope.$emit('Local/SetTab', path);
|
||||
if (cb) return cb();
|
||||
});
|
||||
hideSidebars();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue