Skip to content

Commit

Permalink
🤖 GITHUB ACTIONS format_prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
orcid-releaser committed Aug 5, 2024
1 parent efeb884 commit 82f2dff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>

<div *ngIf="isProfessionalActivity(notification)">
<strong>{{getProfessionalActivitiesUpdatedLabel(notification) }}</strong>
<strong>{{ getProfessionalActivitiesUpdatedLabel(notification) }}</strong>
</div>
<div *ngFor="let i of itemGroupedByType">
<strong>{{ getAmendedTypeLabel(i.type) }}</strong>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,20 @@ export class NotificationYourRecordAmendedComponent implements OnInit {
}
}

getProfessionalActivitiesUpdatedLabel(notification: InboxNotificationAmended) {
getProfessionalActivitiesUpdatedLabel(
notification: InboxNotificationAmended
) {
switch (notification?.amendedSection) {
case 'DISTINCTION':
return ($localize`:@@inbox.distinction:Distinction`).toUpperCase()
return $localize`:@@inbox.distinction:Distinction`.toUpperCase()
case 'INVITED_POSITION':
return ($localize`:@@inbox.invitedPosition:Invited Position`).toUpperCase()
return $localize`:@@inbox.invitedPosition:Invited Position`.toUpperCase()
case 'MEMBERSHIP':
return ($localize`:@@inbox.membership:Membership`).toUpperCase()
return $localize`:@@inbox.membership:Membership`.toUpperCase()
case 'SERVICE':
return ($localize`:@@inbox.service:Service`).toUpperCase()
return $localize`:@@inbox.service:Service`.toUpperCase()
default:
return ""
return ''
}
}
}

0 comments on commit 82f2dff

Please sign in to comment.