diff --git a/src/app/record/components/affiliation-stacks-groups/affiliation-stacks-groups.component.ts b/src/app/record/components/affiliation-stacks-groups/affiliation-stacks-groups.component.ts index 402b8a126f..061b8beb2e 100644 --- a/src/app/record/components/affiliation-stacks-groups/affiliation-stacks-groups.component.ts +++ b/src/app/record/components/affiliation-stacks-groups/affiliation-stacks-groups.component.ts @@ -162,7 +162,8 @@ export class AffiliationStacksGroupsComponent implements OnInit { sortEvent(event: SortData, type: string) { this.userRecordContext.publicRecordId = this.isPublicRecord - this.userRecordContext.privateRecordId = this.userRecord?.userInfo?.EFFECTIVE_USER_ORCID + this.userRecordContext.privateRecordId = + this.userRecord?.userInfo?.EFFECTIVE_USER_ORCID this.userRecordContext.sort = event.type this.userRecordContext.sortAsc = event.direction === 'asc' this._recordAffiliationService.changeUserRecordContext(