Enable cache for nav tabs
This commit is contained in:
parent
b86f2e240d
commit
889ebb8c6c
9 changed files with 44 additions and 37 deletions
|
|
@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
|
||||
var originalList;
|
||||
|
||||
$scope.init = function() {
|
||||
var updateList = function() {
|
||||
originalList = [];
|
||||
|
||||
var wallets = profileService.getWallets({
|
||||
|
|
@ -83,8 +83,8 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
});
|
||||
};
|
||||
|
||||
$scope.$on('modal.hidden', function() {
|
||||
$scope.init();
|
||||
$scope.$on("$ionicView.enter", function(event, data){
|
||||
updateList();
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue