diff --git a/role-verification/role-verification.component.ts b/role-verification/role-verification.component.ts index 89a6415c..a4589839 100644 --- a/role-verification/role-verification.component.ts +++ b/role-verification/role-verification.component.ts @@ -131,9 +131,9 @@ export class RoleVerificationComponent extends BaseComponent implements OnInit, this.subscriptions.push(this.userRegistryService.getInvitation(params['verify']).subscribe(verification => { this.verification = verification; if (this.user.email === this.verification.email.toLowerCase() && this.id === this.verification.entity && this._type === this.verification.type) { - if (this.verification.verificationType === 'manager') { + if (this.verification.verificationType.toLowerCase() === 'manager') { this.openManagerModal(); - } else if (this.verification.verificationType === 'member') { + } else if (this.verification.verificationType.toLowerCase() === 'member') { this.openMemberModal(); } else { this.openErrorModal();