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 { 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 } })