Null check `allUsers` (#515)
This commit is contained in:
parent
da1437a268
commit
ded8865914
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit 8438cafbd08c1c9b1440e0c5385e15e8fb5ac524
|
Subproject commit 2de8c5ed165f00e5d3a2b1dd92763176d6150782
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue