FIX: page starts at 1 (#7844)

This commit is contained in:
Joffrey JAFFEUX 2019-07-02 17:26:23 +02:00 committed by GitHub
parent 8404921b91
commit 72441e2c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export default Ember.Controller.extend(CanCheckEmails, {
init() { init() {
this._super(...arguments); this._super(...arguments);
this._page = 0; this._page = 1;
this._results = []; this._results = [];
this._canLoadMore = true; this._canLoadMore = true;
}, },
@ -33,7 +33,7 @@ export default Ember.Controller.extend(CanCheckEmails, {
}, 250).observes("listFilter"), }, 250).observes("listFilter"),
resetFilters() { resetFilters() {
this._page = 0; this._page = 1;
this._results = []; this._results = [];
this._canLoadMore = true; this._canLoadMore = true;
this._refreshUsers(); this._refreshUsers();