Null check `allUsers` (#515)

This commit is contained in:
Kyle Spearrin 2020-04-20 00:17:06 -04:00 committed by GitHub
parent da1437a268
commit ded8865914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 8438cafbd08c1c9b1440e0c5385e15e8fb5ac524 Subproject commit 2de8c5ed165f00e5d3a2b1dd92763176d6150782

View File

@ -122,7 +122,7 @@ export class PeopleComponent implements OnInit {
} }
get allCount() { get allCount() {
return this.allUsers.length; return this.allUsers != null ? this.allUsers.length : 0;
} }
get invitedCount() { get invitedCount() {