Skip to content

Commit

Permalink
Email and domains show panel when there is no public emails but publi…
Browse files Browse the repository at this point in the history
…c domains (#2329)

* Link to the email domains page

* Check the email domain list as well

* Fix unit tests

* Fix unit tests

* Update src/app/cdk/side-bar/side-bar/side-bar.component.html

* Update src/app/cdk/side-bar/side-bar/side-bar.component.html

* Update src/app/cdk/side-bar/side-bar/side-bar.component.html

* Update src/app/cdk/side-bar/side-bar/side-bar.component.html

* Update src/app/shared/utils/record.util.ts

* Update src/app/shared/utils/record.util.ts

---------

Co-authored-by: leomendoza123 <[email protected]>
  • Loading branch information
amontenegro and leomendoza123 authored Aug 22, 2024
1 parent 3c5b9b7 commit 5491d84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/shared/utils/record.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ export class RecordUtil {
): boolean {
if (
(userRecord?.emails?.emails &&
(!isPublicRecord || userRecord.emails.emails.length > 0)) ||
(!isPublicRecord || userRecord?.emails?.emails.length > 0)) ||
(userRecord?.emails?.emailDomains &&
(!isPublicRecord || userRecord.emails.emailDomains.length > 0)) ||
(!isPublicRecord || userRecord?.emails.emailDomains.length > 0)) ||
(userRecord?.website?.websites &&
(!isPublicRecord || userRecord.website.websites.length > 0)) ||
(userRecord?.externalIdentifier?.externalIdentifiers &&
Expand Down
Binary file not shown.

0 comments on commit 5491d84

Please sign in to comment.