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 Aug 30, 2024
1 parent 90472c0 commit 7a78b07
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
3 changes: 2 additions & 1 deletion src/app/cdk/platform-info/browserlist.regexp.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// tslint:disable-next-line: max-line-length
export const BROWSERLIST_REGEXP = /((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(13[_.]4|13[_.]([5-9]|\d{2,})|13[_.]7|13[_.]([8-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})[_.]\d+|14[_.]0|14[_.]([1-9]|\d{2,})|14[_.]4|14[_.]([5-9]|\d{2,})|14[_.]8|14[_.](9|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})[_.]\d+|15[_.]0|15[_.]([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[_.]\d+|16[_.]0|16[_.]([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})[_.]\d+|17[_.]0|17[_.]([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})[_.]\d+)(?:[_.]\d+)?)|((?:Chrome).*OPR\/(74|(7[5-9]|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Edge\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))(?:\.\d+)?)|((Chromium|Chrome)\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))\.\d+(?:\.\d+)?)|(Version\/(13\.1|13\.([2-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})\.\d+|14\.0|14\.([1-9]|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})\.\d+|15\.0|15\.([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+|16\.0|16\.([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})\.\d+|17\.0|17\.([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})\.\d+)(?:\.\d+)? Safari\/)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+(pre|[ab]\d+[a-z]*)?)/
export const BROWSERLIST_REGEXP =
/((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(13[_.]4|13[_.]([5-9]|\d{2,})|13[_.]7|13[_.]([8-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})[_.]\d+|14[_.]0|14[_.]([1-9]|\d{2,})|14[_.]4|14[_.]([5-9]|\d{2,})|14[_.]8|14[_.](9|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})[_.]\d+|15[_.]0|15[_.]([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[_.]\d+|16[_.]0|16[_.]([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})[_.]\d+|17[_.]0|17[_.]([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})[_.]\d+)(?:[_.]\d+)?)|((?:Chrome).*OPR\/(74|(7[5-9]|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Edge\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))(?:\.\d+)?)|((Chromium|Chrome)\/(80|(8[1-9]|9\d|\d{3,})|83|(8[4-9]|9\d|\d{3,}))\.\d+(?:\.\d+)?)|(Version\/(13\.1|13\.([2-9]|\d{2,})|(1[4-9]|[2-9]\d|\d{3,})\.\d+|14\.0|14\.([1-9]|\d{2,})|(1[5-9]|[2-9]\d|\d{3,})\.\d+|15\.0|15\.([1-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+|16\.0|16\.([1-9]|\d{2,})|(1[7-9]|[2-9]\d|\d{3,})\.\d+|17\.0|17\.([1-9]|\d{2,})|(1[8-9]|[2-9]\d|\d{3,})\.\d+)(?:\.\d+)? Safari\/)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+\.\d+)|(Firefox\/(78|(79|[8-9]\d|\d{3,}))\.\d+(pre|[ab]\d+[a-z]*)?)/
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class InstitutionalComponent implements OnInit {
private _disco: DiscoService,
private _router: Router,
private _platformInfo: PlatformInfoService,
private _cookie: CookieService,
private _cookie: CookieService
) {
this.loading = true
this._disco.getDiscoFeed().subscribe((res) => {
Expand All @@ -96,7 +96,10 @@ export class InstitutionalComponent implements OnInit {
: institutionsFiltered
}),
tap(() => {
if (!this.institutionFormControl.valid && !this.institutionFormControl.pristine) {
if (
!this.institutionFormControl.valid &&
!this.institutionFormControl.pristine
) {
this.userSelectedInstitutions = []
}
})
Expand Down Expand Up @@ -155,13 +158,11 @@ export class InstitutionalComponent implements OnInit {
this.entityID = this.institution.entityID

this.displayDefaultImage = false
this.imageLoadingTimeOut= false
this.imageLoadingFinish= false
this.imageLoadingTimeOut = false
this.imageLoadingFinish = false

this.userSelectedInstitutions = []
this.userSelectedInstitutions.push(institutionSelected)


}

getNameInstitution(institution: Institutional): DisplayName {
Expand Down
2 changes: 1 addition & 1 deletion src/app/link-account/link-account.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { A11yLinkModule } from '../cdk/a11y-link/a11y-link.module'
MatProgressBarModule,
LinkAccountRoutingModule,
SignInModule,
A11yLinkModule
A11yLinkModule,
],
})
export class LinkAccountModule {}
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ <h1 class="orc-font-heading-small">
Link your
</ng-container>
{{ entityDisplayName }}
<ng-container i18n="@@linking.title.2">
account
</ng-container>
<ng-container i18n="@@linking.title.2"> account </ng-container>
</h1>
<p class="mat-body-1">
<ng-container i18n="@@linking.signed">
Expand Down
38 changes: 19 additions & 19 deletions src/app/link-account/pages/link-account/link-account.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export class LinkAccountComponent implements OnInit {
})
}


register() {
// always send the user with all query parameters
this._platformInfo
Expand All @@ -100,23 +99,26 @@ export class LinkAccountComponent implements OnInit {
this._user
.getUserSession()
.pipe(first())
.subscribe((userSession) => {
const params = platform.queryParameters
this._router.navigate(['/register'], {
/// TODO @leomendoza123 depend only on the user session thirty party login data
/// avoid taking data from the the parameters.
.subscribe(
(userSession) => {
const params = platform.queryParameters
this._router.navigate(['/register'], {
/// TODO @leomendoza123 depend only on the user session thirty party login data
/// avoid taking data from the the parameters.

queryParams: {
...params,
providerId,
linkType,
},
})
}, (error) => {
this._router.navigate(['/register'], {
queryParams: platform.queryParameters,
})
})
queryParams: {
...params,
providerId,
linkType,
},
})
},
(error) => {
this._router.navigate(['/register'], {
queryParams: platform.queryParameters,
})
}
)
} else {
this._router.navigate(['/register'], {
queryParams: platform.queryParameters,
Expand All @@ -130,6 +132,4 @@ export class LinkAccountComponent implements OnInit {
}
})
}


}

0 comments on commit 7a78b07

Please sign in to comment.