Release Polish 2 (#3354)

This commit is contained in:
Joe Milazzo 2024-11-09 14:05:17 -06:00 committed by GitHub
parent e1aba57783
commit 0e0d8dca5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 333 additions and 287 deletions

View file

@ -139,6 +139,7 @@ export class ManageUserPreferencesComponent implements OnInit {
this.localizationService.getLocales().subscribe(res => {
this.locales = res;
this.cdRef.markForCheck();
});
}
@ -197,9 +198,6 @@ export class ManageUserPreferencesComponent implements OnInit {
this.settingsForm.addControl('shareReviews', new FormControl(this.user.preferences.shareReviews, []));
this.settingsForm.addControl('locale', new FormControl(this.user.preferences.locale || 'en', []));
if (this.locales.length === 1) {
this.settingsForm.get('locale')?.disable();
}
// Automatically save settings as we edit them
this.settingsForm.valueChanges.pipe(