add store Profile on adding wallets
This commit is contained in:
parent
ae4dd9a54b
commit
08dc892887
3 changed files with 16 additions and 15 deletions
|
|
@ -13,12 +13,9 @@ angular.module('copayApp.controllers').controller('HeadController', function($sc
|
|||
};
|
||||
|
||||
$scope.signout = function() {
|
||||
logout();
|
||||
controllerUtils.logout();
|
||||
};
|
||||
|
||||
function logout() {
|
||||
controllerUtils.logout();
|
||||
}
|
||||
|
||||
// Ensures a graceful disconnect
|
||||
window.onbeforeunload = function() {
|
||||
|
|
@ -48,7 +45,7 @@ angular.module('copayApp.controllers').controller('HeadController', function($sc
|
|||
$scope.title = newTitle;
|
||||
});
|
||||
$rootScope.$on('signout', function() {
|
||||
$scope.signout();
|
||||
controllerUtils.logout();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue