ui: add paginator to top of problem_main page

This commit is contained in:
undefined committed 2021-11-30 00:49:42 +08:00
1 parent 51527c7f79
commit 11cc42b943
6 files changed
+22 -10

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ export function datetimeSpan(dt: Date | ObjectID, relative = true, format = 'YYY
}
export function* paginate(page: number, numPages: number) {
const radius = 2;
const radius = 5;
let first: number;
let last: number;
if (page > 1) {