From ded886591468a8fdbf5cc217284660b8d7fd5c72 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 20 Apr 2020 00:17:06 -0400 Subject: [PATCH] Null check `allUsers` (#515) --- jslib | 2 +- src/app/organizations/manage/people.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 8438cafbd0..2de8c5ed16 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 8438cafbd08c1c9b1440e0c5385e15e8fb5ac524 +Subproject commit 2de8c5ed165f00e5d3a2b1dd92763176d6150782 diff --git a/src/app/organizations/manage/people.component.ts b/src/app/organizations/manage/people.component.ts index a112612db9..9733e4b378 100644 --- a/src/app/organizations/manage/people.component.ts +++ b/src/app/organizations/manage/people.component.ts @@ -122,7 +122,7 @@ export class PeopleComponent implements OnInit { } get allCount() { - return this.allUsers.length; + return this.allUsers != null ? this.allUsers.length : 0; } get invitedCount() {