improve url checker
This commit is contained in:
parent
ee031849b2
commit
53bc610bbc
7 changed files with 16 additions and 19 deletions
|
|
@ -14,6 +14,13 @@ angular.module('copayApp.services')
|
|||
return vi.muted;
|
||||
};
|
||||
|
||||
root.redirIfLogged = function() {
|
||||
var w = $rootScope.wallet;
|
||||
if (w) {
|
||||
$location.path('addresses');
|
||||
}
|
||||
};
|
||||
|
||||
root.logout = function() {
|
||||
Socket.removeAllListeners();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue