mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 15:05:27 +08:00
Fix the total page count in the history tab
This commit is contained in:
parent
f823611c2e
commit
b4a6daef11
@ -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 () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user