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 Oct 3, 2023
1 parent 88b8489 commit a19d90c
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,14 @@ export class AffiliationsSortService {
})
}

private static isSelfAsserted(affiliationGroup: AffiliationGroup, orcid: string): boolean {
const obo = !!(affiliationGroup.defaultAffiliation.assertionOriginName || affiliationGroup.defaultAffiliation.assertionOriginOrcid)
private static isSelfAsserted(
affiliationGroup: AffiliationGroup,
orcid: string
): boolean {
const obo = !!(
affiliationGroup.defaultAffiliation.assertionOriginName ||
affiliationGroup.defaultAffiliation.assertionOriginOrcid
)
return obo ? obo : affiliationGroup.defaultAffiliation.source === orcid
}
}

0 comments on commit a19d90c

Please sign in to comment.