From 4716913427b3621c6e86504b4947f944cb206da9 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Mon, 14 Oct 2024 13:42:45 +0300 Subject: [PATCH] [develop]: Make verificationType to lowercase in conditions. --- role-verification/role-verification.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();