mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 23:47:13 +00:00
Pagination Button Improvements
This commit is contained in:
parent
e51600016b
commit
36beeb8a2c
@ -686,9 +686,9 @@ export default function Dashboard() {
|
||||
<PaginationContent>
|
||||
<PaginationItem>
|
||||
<PaginationPrevious
|
||||
href="#"
|
||||
onClick={handlePrevious}
|
||||
isActive={currentPage > 1}
|
||||
style={{ cursor: currentPage === 1 ? 'not-allowed' : 'pointer' }}
|
||||
/>
|
||||
</PaginationItem>
|
||||
<PaginationItem>
|
||||
@ -696,9 +696,9 @@ export default function Dashboard() {
|
||||
</PaginationItem>
|
||||
<PaginationItem>
|
||||
<PaginationNext
|
||||
href="#"
|
||||
onClick={handleNext}
|
||||
isActive={currentPage < maxPage}
|
||||
style={{ cursor: currentPage === maxPage ? 'not-allowed' : 'pointer' }}
|
||||
/>
|
||||
</PaginationItem>
|
||||
</PaginationContent>
|
||||
|
||||
@ -760,9 +760,9 @@ export default function Dashboard() {
|
||||
<PaginationContent>
|
||||
<PaginationItem>
|
||||
<PaginationPrevious
|
||||
href="#"
|
||||
onClick={handlePrevious}
|
||||
isActive={currentPage > 1}
|
||||
style={{ cursor: currentPage === 1 ? 'not-allowed' : 'pointer' }}
|
||||
/>
|
||||
</PaginationItem>
|
||||
|
||||
@ -772,9 +772,9 @@ export default function Dashboard() {
|
||||
|
||||
<PaginationItem>
|
||||
<PaginationNext
|
||||
href="#"
|
||||
onClick={handleNext}
|
||||
isActive={currentPage < maxPage}
|
||||
style={{ cursor: currentPage === maxPage ? 'not-allowed' : 'pointer' }}
|
||||
/>
|
||||
</PaginationItem>
|
||||
</PaginationContent>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user