refactor isChange logic
This commit is contained in:
parent
4acb32c3d8
commit
fd9e6cb48a
8 changed files with 89 additions and 66 deletions
|
|
@ -40,7 +40,13 @@ angular.module('copay.header').controller('HeaderController',
|
|||
w.disconnect();
|
||||
controllerUtils.logout();
|
||||
}
|
||||
$rootScope.flashMessage = {};
|
||||
$scope.clearFlashMessage();
|
||||
};
|
||||
|
||||
$scope.refresh = function() {
|
||||
controllerUtils.updateBalance(function() {
|
||||
$rootScope.$digest();
|
||||
});
|
||||
};
|
||||
|
||||
$scope.clearFlashMessage = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue