mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
check for confirm status before showing events
This commit is contained in:
parent
1afc05310e
commit
ee91f4610e
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 7ca2a40478d8d8d50f47f1d6974b85f22eb888f3
|
||||
Subproject commit 152c44185b6509ad2769f1c1bc306a0e4dd576d5
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user