add maxPeer check
This commit is contained in:
parent
9eadda0ed3
commit
0780879205
6 changed files with 73 additions and 30 deletions
|
|
@ -32,9 +32,12 @@ angular.module('copay.header').controller('HeaderController',
|
|||
};
|
||||
|
||||
$scope.signout = function() {
|
||||
$rootScope.isLogged = false;
|
||||
Network.disconnect(function() {
|
||||
$location.path('signin');
|
||||
});
|
||||
};
|
||||
|
||||
$scope.clearFlashMessage = function() {
|
||||
$rootScope.flashMessage = {};
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue