Fix cache for activity, addressbook, amazon, proposals
This commit is contained in:
parent
1edcf184ee
commit
9cb0dc128c
9 changed files with 68 additions and 41 deletions
|
|
@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('addressbookListController', f
|
|||
|
||||
var contacts;
|
||||
|
||||
$scope.initAddressbook = function() {
|
||||
var initAddressbook = function() {
|
||||
addressbookService.list(function(err, ab) {
|
||||
if (err) $log.error(err);
|
||||
|
||||
|
|
@ -47,10 +47,14 @@ angular.module('copayApp.controllers').controller('addressbookListController', f
|
|||
popupService.showAlert(err);
|
||||
return;
|
||||
}
|
||||
$scope.initAddressbook();
|
||||
initAddressbook();
|
||||
$scope.$digest();
|
||||
});
|
||||
}, 100);
|
||||
};
|
||||
|
||||
$scope.$on("$ionicView.enter", function(event, data){
|
||||
initAddressbook();
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue