mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Fixed next page btn clickable w/ no uploads/users
This commit is contained in:
parent
41d52d947b
commit
0eb425e216
2
dist/js/dashboard.js
vendored
2
dist/js/dashboard.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/dashboard.js.map
vendored
2
dist/js/dashboard.js.map
vendored
File diff suppressed because one or more lines are too long
@ -2441,7 +2441,7 @@ page.paginate = (totalItems, itemsPerPage, currentPage) => {
|
||||
return `
|
||||
<nav class="pagination is-centered is-small">
|
||||
<a class="button pagination-previous" data-action="page-prev"${currentPage === 1 ? ' disabled' : ''}>Previous</a>
|
||||
<a class="button pagination-next" data-action="page-next"${currentPage === numPages ? ' disabled' : ''}>Next page</a>
|
||||
<a class="button pagination-next" data-action="page-next"${currentPage >= numPages ? ' disabled' : ''}>Next page</a>
|
||||
<ul class="pagination-list">${template}</ul>
|
||||
</nav>
|
||||
`
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"1": "1588434130",
|
||||
"1": "1588434390",
|
||||
"2": "1581416390",
|
||||
"3": "1581416390",
|
||||
"4": "1581416390",
|
||||
|
Loading…
Reference in New Issue
Block a user