several improvements to p2p connections
This commit is contained in:
parent
5356dc21fd
commit
5b8b000c3d
3 changed files with 79 additions and 64 deletions
|
|
@ -33,7 +33,8 @@ angular.module('copay.header').controller('HeaderController',
|
|||
|
||||
$scope.signout = function() {
|
||||
$rootScope.isLogged = false;
|
||||
Network.disconnect();
|
||||
$location.path('signin');
|
||||
Network.disconnect(function() {
|
||||
$location.path('signin');
|
||||
});
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue