Feature/refactor community language method (#4071)

* Refactoring
pull/4115/head
Thomas Kaul 4 months ago committed by GitHub
parent 66cace0c56
commit dbfac54af9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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