|
|
@ -45,6 +45,10 @@ const { required, email } = Validators; |
|
|
], |
|
|
], |
|
|
}) |
|
|
}) |
|
|
export class EmailSettingGroupComponent implements OnInit { |
|
|
export class EmailSettingGroupComponent implements OnInit { |
|
|
|
|
|
private emailSettingsService = inject(EmailSettingsService); |
|
|
|
|
|
private fb = inject(UntypedFormBuilder); |
|
|
|
|
|
private toasterService = inject(ToasterService); |
|
|
|
|
|
|
|
|
protected readonly localizationService = inject(LocalizationService); |
|
|
protected readonly localizationService = inject(LocalizationService); |
|
|
protected readonly configStateSevice = inject(ConfigStateService); |
|
|
protected readonly configStateSevice = inject(ConfigStateService); |
|
|
protected readonly currentUserEmail = toSignal( |
|
|
protected readonly currentUserEmail = toSignal( |
|
|
@ -58,12 +62,6 @@ export class EmailSettingGroupComponent implements OnInit { |
|
|
isEmailTestModalOpen = false; |
|
|
isEmailTestModalOpen = false; |
|
|
modalSize: NgbModalOptions = { size: 'lg' }; |
|
|
modalSize: NgbModalOptions = { size: 'lg' }; |
|
|
|
|
|
|
|
|
constructor( |
|
|
|
|
|
private emailSettingsService: EmailSettingsService, |
|
|
|
|
|
private fb: UntypedFormBuilder, |
|
|
|
|
|
private toasterService: ToasterService, |
|
|
|
|
|
) {} |
|
|
|
|
|
|
|
|
|
|
|
ngOnInit() { |
|
|
ngOnInit() { |
|
|
this.getData(); |
|
|
this.getData(); |
|
|
} |
|
|
} |
|
|
|