Fixed socke-emit-on
Merge branch 'master' into feature/socket-io-support Fix conflicts: js/controllers/home.js
This commit is contained in:
commit
9fdb04e868
4 changed files with 21 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copay.header').controller('HeaderController',
|
||||
function($scope, $rootScope, $location, walletFactory, Socket) {
|
||||
function($scope, $rootScope, $location, walletFactory) {
|
||||
$scope.menu = [{
|
||||
'title': 'Home',
|
||||
'icon': 'fi-home',
|
||||
|
|
@ -40,8 +40,6 @@ angular.module('copay.header').controller('HeaderController',
|
|||
if (w) {
|
||||
w.disconnect();
|
||||
delete $rootScope['wallet'];
|
||||
var socket = Socket($scope);
|
||||
socket.removeAllListeners();
|
||||
$location.path('signin');
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue