Clean pendingForUs when change wallet. Fix root.go

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-24 02:46:29 -03:00
commit 68678613b7
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -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();