knownasilya / pagination-pager

Ember.js Component for Bootstrap 3 pagination & pager components

Home Page:http://knownasilya.github.io/pagination-pager/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`hide` option should hide the pagination when count is zero

engwan opened this issue · comments

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

Agreed, will await your PR. Thanks.