Skip to content

Commit

Permalink
🤖 GITHUB ACTIONS format_prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Sep 25, 2024
1 parent 262e4e8 commit 5be3e21
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export class SummarySimplePanelComponent implements OnInit {
constructor(@Inject(WINDOW) private _window: Window) {}

ngOnInit(): void {
this.acitivityCountOverflow = this.simpleActivities.length > 3 || this.count > 3
this.acitivityCountOverflow =
this.simpleActivities.length > 3 || this.count > 3
this.simpleActivities = this.simpleActivities.slice(0, 3)
}
goToUrl(url?: string, event?: KeyboardEvent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ <h1 class="orc-font-body-large">
'panel-body-3-cols': !mobile
}"
>

<div
class="column"
[ngClass]="{ 'column-border': !mobile && (twoColumns || threeColumns) }"
Expand Down Expand Up @@ -226,7 +225,12 @@ <h3 class="orc-font-small-print" i18n="@@summary.keyDates">
<div
class="column"
[ngClass]="{ 'column-border': !mobile && threeColumns }"
*ngIf="peerReviews?.length || works?.length || funds?.length || researchResoruces?.length"
*ngIf="
peerReviews?.length ||
works?.length ||
funds?.length ||
researchResoruces?.length
"
>
<ng-container *ngIf="works?.length">
<a
Expand Down Expand Up @@ -335,7 +339,7 @@ <h3 class="orc-font-small-print" i18n="@@summary.keyDates">
class="column"
*ngIf="
trustedSummary.professionalActivities?.length ||
externalIdentifiers?.length ||
externalIdentifiers?.length ||
trustedSummary.educationQualifications?.length
"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ export class CustomEventService {
* @param attributes Additional attributes to store with the journey
*/
startJourney(journeyType: journeyType, attributes: any = {}): void {


// Record the start time and initial attributes
this.journeys[journeyType] = {
startTime: Date.now(),
Expand Down
2 changes: 1 addition & 1 deletion src/app/record/pages/my-orcid/my-orcid.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class MyOrcidComponent implements OnInit, OnDestroy {
'professional-activities',
'research-resources',
'emails-panel',
'education-and-qualification'
'education-and-qualification',
].find((x) => x === this.fragment)
) {
setTimeout(() => {
Expand Down

0 comments on commit 5be3e21

Please sign in to comment.