ember-cli-pagination
ember-cli-pagination copied to clipboard
page-numbers component having trouble handling a blank Array
for some reason, it showing page 1 then page 0 when I have no records and have a blank Ember Array, the case where I have a blank ember array is on the table search when no records are returned
records = Em.A([]);
{{page-numbers content=records}}
another case where I see the same thing is when my PagedRemoteArray returns no records and totalPages is 0
this PR would help I believe https://github.com/mharris717/ember-cli-pagination/pull/32