From a5bb724b2ead911fe91f0570bae6fe558b0fafcb Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 15 Oct 2024 22:35:36 +0300 Subject: [PATCH 1/2] fix professional domain util --- src/app/core/utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/core/utils.ts b/src/app/core/utils.ts index 38d21e96b..f0ccc6f6c 100644 --- a/src/app/core/utils.ts +++ b/src/app/core/utils.ts @@ -3,9 +3,9 @@ import { EmailsEndpoint } from '../types' export const setProfessionalEmails = ( emails: EmailsEndpoint ): EmailsEndpoint => { - emails.emailDomains.forEach((domain) => { - emails.emails.forEach((email) => { - if (email.value.includes(domain.value)) { + emails?.emailDomains?.forEach((domain) => { + emails?.emails?.forEach((email) => { + if (email?.value?.includes(domain?.value)) { email.professionalEmail = true } }) From 823cf7b0b241b6943bf47b0435157573dd799bfc Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 15 Oct 2024 22:38:08 +0300 Subject: [PATCH 2/2] fix element source line height --- .../panel-element-source/panel-element-source.component.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/cdk/panel/panel-element-source/panel-element-source.component.scss b/src/app/cdk/panel/panel-element-source/panel-element-source.component.scss index 1bb5ba778..a9b9d7545 100644 --- a/src/app/cdk/panel/panel-element-source/panel-element-source.component.scss +++ b/src/app/cdk/panel/panel-element-source/panel-element-source.component.scss @@ -1,6 +1,7 @@ :host { margin-top: 4px; display: block; + line-height: 18px; } p {