`hide` option should hide the pagination when count is zero
engwan opened this issue · comments
Heinrich Lee Yu commented
Currently hide
only checks if the count is exactly 1.
I think the condition should be changed to <= 1
so that it is also hidden on empty lists.
This is for APIs that return 0 pages for empty lists.
What do you think? I'll try to submit a PR within the day
Ilya Radchenko commented
Agreed, will await your PR. Thanks.