Bugfix: hide pagination when search has 0 messages

This commit is contained in:
the-djmaze 2024-04-08 16:14:30 +02:00
parent 2bcaf3c6ad
commit d59a326920
2 changed files with 3 additions and 3 deletions

View file

@ -121,7 +121,7 @@ computedPaginatorHelper = (koCurrentPage, koPageCount) => {
next = 0,
limit = 2;
if (1 < pageCount || (0 < pageCount && pageCount < currentPage)) {
if (1 < pageCount) {
if (pageCount < currentPage) {
fAdd(pageCount);
prev = pageCount;