summaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 7a76b89f9b..6156429deb 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -3389,7 +3389,7 @@ function initVueComponents() {
this.reposTotalCount = count;
}
Vue.set(this.counts, `${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`, count);
- this.finalPage = Math.floor(count / this.searchLimit) + 1;
+ this.finalPage = Math.ceil(count / this.searchLimit);
this.updateHistory();
}
}).always(() => {