Skip to content

Commit

Permalink
🤖 GITHUB ACTIONS format_prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro committed Aug 22, 2024
1 parent 0697bef commit dbafd4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 9 additions & 8 deletions src/app/cdk/side-bar/side-bar/side-bar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@
id="emails-panel"
[(openState)]="emailsOpenState"
*ngIf="
(!isPublicRecord ||
(userRecord?.emails?.emails && userRecord?.emails?.emails?.length > 0) ||
(userRecord?.emails?.emailDomains && userRecord?.emails?.emailDomains?.length > 0)
)
!isPublicRecord ||
(userRecord?.emails?.emails &&
userRecord?.emails?.emails?.length > 0) ||
(userRecord?.emails?.emailDomains &&
userRecord?.emails?.emailDomains?.length > 0)
"
[userRecord]="userRecord"
>
Expand Down Expand Up @@ -90,10 +91,10 @@
</h3>
<app-panel-data
*ngIf="
(
(userRecord?.emails?.emails && userRecord?.emails?.emails?.length > 0) ||
(userRecord?.emails?.emailDomains && userRecord?.emails?.emailDomains?.length > 0)
) &&
((userRecord?.emails?.emails &&
userRecord?.emails?.emails?.length > 0) ||
(userRecord?.emails?.emailDomains &&
userRecord?.emails?.emailDomains?.length > 0)) &&
isPublicRecord &&
emailDomainsTogglz &&
!loadingTogglz
Expand Down
4 changes: 1 addition & 3 deletions src/app/cdk/side-bar/side-bar/side-bar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ export class SideBarComponent implements OnInit, OnDestroy {
}
})
this.userRecord.emails?.emailDomains?.forEach((emailDomain) => {
if (
emailDomain.visibility === 'PUBLIC'
) {
if (emailDomain.visibility === 'PUBLIC') {
this.publicDomainList.push(emailDomain)
}
})
Expand Down

0 comments on commit dbafd4e

Please sign in to comment.