Skip to content

Commit

Permalink
Merge pull request #2373 from ORCID/fix-source-line-height
Browse files Browse the repository at this point in the history
Fix element source line height and fix util
  • Loading branch information
leomendoza123 authored Oct 15, 2024
2 parents 376c178 + 823cf7b commit 303a0c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
:host {
margin-top: 4px;
display: block;
line-height: 18px;
}

p {
Expand Down
6 changes: 3 additions & 3 deletions src/app/core/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
})
Expand Down

0 comments on commit 303a0c6

Please sign in to comment.