This commit is contained in:
CITE\amentis 2024-07-30 10:31:57 +03:00
parent 56cecc49ae
commit 9413b7b4c8
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ export class DescriptionTemplateTypeEditorComponent extends BaseEditor<Descripti
} }
persistEntity(onSuccess?: (response) => void): void { persistEntity(onSuccess?: (response) => void): void {
const formData = this.formService.getValue(this.formGroup.value) as DescriptionTemplateTypePersist; const formData = this.formGroup.getRawValue() as DescriptionTemplateTypePersist;
this.descriptionTemplateTypeService.persist(formData) this.descriptionTemplateTypeService.persist(formData)
.pipe(takeUntil(this._destroyed)).subscribe( .pipe(takeUntil(this._destroyed)).subscribe(