Browse Source
Feature/refactor community language method (#4071)
* Refactoring
pull/3916/merge
Thomas Kaul
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
apps/client/src/app/components/user-account-settings/user-account-settings.component.ts
|
@ -117,7 +117,7 @@ export class UserAccountSettingsComponent implements OnDestroy, OnInit { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public isCommunityLanguage() { |
|
|
public isCommunityLanguage() { |
|
|
return !(this.language === 'de' || this.language === 'en'); |
|
|
return !['de', 'en'].includes(this.language); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public onChangeUserSetting(aKey: string, aValue: string) { |
|
|
public onChangeUserSetting(aKey: string, aValue: string) { |
|
|