Skip to content

Commit

Permalink
🤖 GITHUB ACTIONS format_prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro committed May 5, 2023
1 parent bd29ae8 commit d689530
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## v2.30.4 - 2023-05-05
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.30.3...v2.30.4)

[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.30.3...v2.30.4)

### Fix

- use correct token for formatting jobs
- use correct token for formatting jobs

### Feature

- Remove count of orcid records (#1944)
- Remove count of orcid records (#1944)

## v2.30.3 - 2023-05-04

Expand Down
20 changes: 9 additions & 11 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class AppComponent {
_zendesk: ZendeskService,
private _userService: UserService,
private _errorHandler: ErrorHandlerService,
private _togglz: TogglzService,
private _togglz: TogglzService,
@Inject(WINDOW) private _window: Window
) {
_platformInfo
Expand Down Expand Up @@ -116,16 +116,14 @@ export class AppComponent {
})
}
})

_togglz
.getStateOf('ENABLE_DE_PL_TR')
.subscribe((togglz_enabled) => {
if(togglz_enabled) {
environment.LANGUAGE_MENU_OPTIONS['de'] = 'Deutsch';
environment.LANGUAGE_MENU_OPTIONS['pl'] = 'Polski';
environment.LANGUAGE_MENU_OPTIONS['tr'] = 'Türkçe';
}
})

_togglz.getStateOf('ENABLE_DE_PL_TR').subscribe((togglz_enabled) => {
if (togglz_enabled) {
environment.LANGUAGE_MENU_OPTIONS['de'] = 'Deutsch'
environment.LANGUAGE_MENU_OPTIONS['pl'] = 'Polski'
environment.LANGUAGE_MENU_OPTIONS['tr'] = 'Türkçe'
}
})
}
showHeadlessOnOauthPage(currentRoute: string): boolean {
if (currentRoute) {
Expand Down

0 comments on commit d689530

Please sign in to comment.