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

check for confirm status before showing events

This commit is contained in:
Kyle Spearrin
2018-07-12 10:14:33 -04:00
parent 1afc05310e
commit ee91f4610e
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: 7ca2a40478...152c44185b

View File

@@ -72,7 +72,7 @@ export class PeopleComponent implements OnInit {
this.searchText = qParams.search;
if (qParams.viewEvents != null) {
const user = this.users.filter((u) => u.id === qParams.viewEvents);
if (user.length > 0) {
if (user.length > 0 && user[0].status === OrganizationUserStatusType.Confirmed) {
this.events(user[0]);
}
}