From ee91f4610e7f0e92aab8961137983dd27285aa22 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 12 Jul 2018 10:14:33 -0400 Subject: [PATCH] check for confirm status before showing events --- jslib | 2 +- src/app/organizations/manage/people.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 7ca2a404..152c4418 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 7ca2a40478d8d8d50f47f1d6974b85f22eb888f3 +Subproject commit 152c44185b6509ad2769f1c1bc306a0e4dd576d5 diff --git a/src/app/organizations/manage/people.component.ts b/src/app/organizations/manage/people.component.ts index 8e80defe..43fcbef7 100644 --- a/src/app/organizations/manage/people.component.ts +++ b/src/app/organizations/manage/people.component.ts @@ -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]); } }