forms in notifications and user-profile screens readonly

This commit is contained in:
Edi Cziszter 2021-11-24 15:28:03 +02:00
parent 1334e340cd
commit 6507f5ad23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ export class NotificationsScreenComponent implements OnInit {
readonly notificationGroupsValues = NotificationGroupsValues;
readonly translations = notificationsTranslations;
formGroup: FormGroup = this._getForm();
readonly formGroup: FormGroup = this._getForm();
constructor(
private readonly _toaster: Toaster,

View File

@ -17,7 +17,7 @@ import { LanguageService } from '../../../../../i18n/language.service';
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class UserProfileScreenComponent implements OnInit {
formGroup: FormGroup = this._getForm();
readonly formGroup: FormGroup = this._getForm();
changePasswordUrl: SafeResourceUrl;
translations = languagesTranslations;