1
0
mirror of https://github.com/bitwarden/web synced 2025-12-16 00:03:25 +00:00

Fix modal-body div missing #583 (#585)

* Fix modal-body div missing #583

* Revert "Fix modal-body div missing #583"

This reverts commit 38f0cae82d.

* Fixing modal-body div missing #583
This commit is contained in:
Chad Scharf
2020-07-28 09:55:59 -04:00
committed by GitHub
parent 59d5a7439d
commit 2e01ff7826
3 changed files with 6 additions and 6 deletions

View File

@@ -129,7 +129,7 @@ export class PeopleComponent implements OnInit {
}
loadMore() {
if (this.users.length <= this.pageSize) {
if (!this.users || this.users.length <= this.pageSize) {
return;
}
const pagedLength = this.pagedUsers.length;
@@ -331,7 +331,7 @@ export class PeopleComponent implements OnInit {
if (searching && this.didScroll) {
this.resetPaging();
}
return !searching && this.users.length > this.pageSize;
return !searching && this.users && this.users.length > this.pageSize;
}
private async doConfirmation(user: OrganizationUserUserDetailsResponse) {