FIX: Group Requests loading was broken

We were referencing the wrong property, which meant the footer was
always being hidden and we were trying to load more requests when we'd
already loaded them all.

see:
https://meta.discourse.org/t/constant-loading-on-group-membership-request-tab/166284
This commit is contained in:
Robin Ward 2020-10-07 13:36:46 -04:00
parent ddd6c990f6
commit cee80b0e44
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export default Controller.extend({
return;
}
if (!refresh && model.members.length >= model.user_count) {
if (!refresh && model.requesters.length >= model.user_count) {
this.set("application.showFooter", true);
return;
}