Feature/refactor community language method (#4071)

* Refactoring
This commit is contained in:
Thomas Kaul
2024-12-02 17:32:24 +01:00
committed by GitHub
parent 66cace0c56
commit dbfac54af9

View File

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