mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add paginator to top of problem_main page
This commit is contained in:
1 parent
51527c7f79
commit
11cc42b943
6 files changed
+22
-10
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user