mirror of
https://github.com/bitwarden/web
synced 2025-12-15 15:53:18 +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;
|
this.searchText = qParams.search;
|
||||||
if (qParams.viewEvents != null) {
|
if (qParams.viewEvents != null) {
|
||||||
const user = this.users.filter((u) => u.id === qParams.viewEvents);
|
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]);
|
this.events(user[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user