Merge pull request #172 from cmgustavo/matias/bug/notif3-layout-pending
Clean pendingForUs when change wallet. Fix root.go
This commit is contained in:
commit
dc0e0bb91f
4 changed files with 12 additions and 7 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;
|
||||
|
|
|
|||
|
|
@ -124,4 +124,8 @@ angular.module('copayApp.controllers').controller('topbarController', function($
|
|||
}
|
||||
};
|
||||
|
||||
this.goHome = function() {
|
||||
go.walletHome();
|
||||
};
|
||||
|
||||
});
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ angular
|
|||
templateUrl: 'views/includes/topbar.html',
|
||||
controller: function($scope) {
|
||||
$scope.titleSection = 'Preferences';
|
||||
$scope.closeToState = 'walletHome';
|
||||
$scope.closeToHome = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -347,7 +347,7 @@ angular
|
|||
templateUrl: 'views/includes/topbar.html',
|
||||
controller: function($scope) {
|
||||
$scope.titleSection = 'Add wallet';
|
||||
$scope.goBackToState = 'walletHome';
|
||||
$scope.closeToHome = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue