Fix pagination of history
This commit is contained in:
parent
dddbb27481
commit
18015c300e
2 changed files with 10 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ angular.module('copayApp.controllers').controller('HistoryController',
|
|||
$scope.alternativeCurrency = [];
|
||||
|
||||
$scope.selectPage = function(page) {
|
||||
$scope.paging = true;
|
||||
$scope.currentPage = page;
|
||||
$scope.update();
|
||||
};
|
||||
|
|
@ -188,6 +189,7 @@ angular.module('copayApp.controllers').controller('HistoryController',
|
|||
$scope.totalItems = res.nbItems;
|
||||
|
||||
$scope.loading = false;
|
||||
$scope.paging = false;
|
||||
setTimeout(function() {
|
||||
$scope.$digest();
|
||||
}, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue