mirror of https://github.com/BTCPrivate/copay.git
remove flashmessages from header
This commit is contained in:
parent
710160ff84
commit
c400ba2695
|
@ -51,10 +51,7 @@ angular.module('copayApp.controllers').controller('HeaderController',
|
|||
|
||||
$rootScope.$watch('insightError', function(status) {
|
||||
if (status === -1) {
|
||||
$rootScope.$flashMessage = {
|
||||
type: 'success',
|
||||
message: 'Networking Restored :)',
|
||||
};
|
||||
notification.success('Networking restored', 'Connection to insight restored');
|
||||
$rootScope.insightError = 0;
|
||||
}
|
||||
});
|
||||
|
@ -98,7 +95,6 @@ angular.module('copayApp.controllers').controller('HeaderController',
|
|||
|
||||
$scope.signout = function() {
|
||||
logout();
|
||||
$scope.clearFlashMessage();
|
||||
};
|
||||
|
||||
$scope.refresh = function() {
|
||||
|
@ -111,10 +107,6 @@ angular.module('copayApp.controllers').controller('HeaderController',
|
|||
}
|
||||
};
|
||||
|
||||
$scope.clearFlashMessage = function() {
|
||||
$rootScope.$flashMessage = {};
|
||||
};
|
||||
|
||||
$rootScope.isCollapsed = true;
|
||||
|
||||
$scope.toggleCollapse = function() {
|
||||
|
|
Loading…
Reference in New Issue