Browse Source

Feature/refactor community language method (#4071)

* Refactoring
pull/3916/merge
Thomas Kaul 2 months ago
committed by GitHub
parent
commit
dbfac54af9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      apps/client/src/app/components/user-account-settings/user-account-settings.component.ts

2
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() {
return !(this.language === 'de' || this.language === 'en');
return !['de', 'en'].includes(this.language);
}
public onChangeUserSetting(aKey: string, aValue: string) {

Loading…
Cancel
Save