Skip to content

Commit 1810ab7

Browse files
committed
Added pagintaion to bottom of downloads page
1 parent da7aaf8 commit 1810ab7

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

frontend/src/Manage/Download/Download.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,27 @@ export const Download = () => {
413413
/>
414414
))}
415415
</Box>
416+
<Box
417+
sx={{
418+
display: 'flex',
419+
justifyContent: 'center',
420+
borderRadius: 1,
421+
boxShadow: 1,
422+
padding: 1,
423+
marginTop: 2,
424+
backgroundColor: 'background.paper',
425+
maxWidth: { sm: '1000px' },
426+
mx: 'auto',
427+
}}
428+
>
429+
<Pagination
430+
count={searchResults.meta.totalPages}
431+
onChange={submitPageChange}
432+
disabled={isLoading}
433+
hideNextButton
434+
hidePrevButton
435+
/>
436+
</Box>
416437
</>
417438
)}
418439
</Box>

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "CDMServer"
3-
version = "2.10.2"
3+
version = "2.11.0"
44
description = "A short description of your project"
55
authors = [{name = "Aron Radics", email = "radics.aron.jozsef@gmail.com"}]
66
requires-python = ">=3.13"

0 commit comments

Comments
 (0)