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:
2
jslib
2
jslib
Submodule jslib updated: 7ca2a40478...152c44185b
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user