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.notAuthorized = false;
|
||||||
self.txHistory = [];
|
self.txHistory = [];
|
||||||
self.txHistoryPaging = false;
|
self.txHistoryPaging = false;
|
||||||
|
self.pendingTxProposalsCountForUs = null;
|
||||||
|
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
self.hasProfile = true;
|
self.hasProfile = true;
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
|
||||||
root.path = function(path, cb) {
|
root.path = function(path, cb) {
|
||||||
$state.transitionTo(path)
|
$state.transitionTo(path)
|
||||||
.then(function() {
|
.then(function() {
|
||||||
|
$rootScope.$emit('Local/SetTab', path);
|
||||||
if (cb) return cb();
|
if (cb) return cb();
|
||||||
});
|
});
|
||||||
hideSidebars();
|
hideSidebars();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue