diff --git a/app/assets/javascripts/discourse/components/group-members-input.js.es6 b/app/assets/javascripts/discourse/components/group-members-input.js.es6 index 1fb45f27bf6..b2d892095b9 100644 --- a/app/assets/javascripts/discourse/components/group-members-input.js.es6 +++ b/app/assets/javascripts/discourse/components/group-members-input.js.es6 @@ -15,7 +15,7 @@ export default Ember.Component.extend({ @computed('model.limit', 'model.user_count') totalPages(limit, userCount) { if (userCount === 0) { return 0; } - return Math.floor(userCount / limit) + 1; + return Math.ceil(userCount / limit); }, @computed('model.usernames')