Fix the total page count in the history tab

This commit is contained in:
equal-l2 2018-09-20 07:28:40 +09:00 committed by Fabian Homborg
parent f823611c2e
commit b4a6daef11

View file

@ -255,7 +255,7 @@ controllers.controller("historyController", function($scope, $http, $timeout) {
if ($scope.filteredItemPages[0].length === 0) {
return "None";
}
return ($scope.currentPage + 1) + " / " + ($scope.filteredItemPages.length + 1);
return ($scope.currentPage + 1) + " / " + $scope.filteredItemPages.length;
};
$scope.prevPage = function () {