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 Feb 19, 2024
1 parent 9b9d62e commit a971c5e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ export class AffiliationStacksGroupsComponent implements OnInit {
'type',
'start',
'end',
'source'
'source',
]
educationAndQualificationSortTypes: SortOrderType[] = [
'title',
'start',
'end',
'source'
'source',
]
constructor(
private _record: RecordService,
Expand All @@ -78,7 +78,7 @@ export class AffiliationStacksGroupsComponent implements OnInit {
this._togglz
.getStateOf('PROFESSIONAL_ACTIVITIES')
.pipe(take(1))
.subscribe((value) => (this.professionalActivitiesTogglz = value))
.subscribe((value) => (this.professionalActivitiesTogglz = value))
this.$loading = this._recordAffiliationService.$loading
this._record
.getRecord({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@
'orc-font-body-large': platform.columns12
}"
>
<ng-container *ngIf="!platform.columns12; else elseBlock">{{ isPublicRecord }}</ng-container>
<ng-container *ngIf="!platform.columns12; else elseBlock">{{
isPublicRecord
}}</ng-container>
<ng-template #elseBlock>{{ orcidId }}</ng-template>
</h2>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
[ngClass]="{ 'no-padding': displayBiography || displaySideBar }"
>
<ng-container
*ngIf="
userInfo.IS_LOCKED === 'true' &&
!userInfo.PRIMARY_RECORD
"
*ngIf="userInfo.IS_LOCKED === 'true' && !userInfo.PRIMARY_RECORD"
>
<p>
<ng-container i18n="@@topBar.weLockRecords">
Expand Down Expand Up @@ -39,7 +36,8 @@
*ngIf="
userInfo.IS_DEACTIVATED === 'true' &&
userInfo.IS_LOCKED === 'false' &&
!userInfo.PRIMARY_RECORD"
!userInfo.PRIMARY_RECORD
"
>
<p>
<ng-container i18n="@@topBar.whenOrcidDeactivated">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class WorkStackGroupComponent implements OnInit {
platform: PlatformInfo
selectedWorks: string[] = []
selectAll: false
sortTypes: SortOrderType[] = ['title', 'date', 'type','source']
sortTypes: SortOrderType[] = ['title', 'date', 'type', 'source']

@ViewChildren('selectAllCheckbox') selectAllCheckbox: MatCheckbox
@ViewChildren('appWorkStacks') appWorkStacks: QueryList<WorkStackComponent>
Expand All @@ -150,7 +150,7 @@ export class WorkStackGroupComponent implements OnInit {
private _togglz: TogglzService
) {}

ngOnInit(): void {
ngOnInit(): void {
this.$loading = this._works.$loading
this._record
.getRecord({ publicRecordId: this.isPublicRecord })
Expand Down

0 comments on commit a971c5e

Please sign in to comment.