mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Bugfix: hide pagination when search has 0 messages
This commit is contained in:
parent
2bcaf3c6ad
commit
d59a326920
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue