|
|
|
@ -575,7 +575,10 @@ export class DescriptionEditorComponent extends BaseEditor<DescriptionEditorMode
|
|
|
|
|
// this.selectedSystemFields = this.selectedSystemFieldDisabled();
|
|
|
|
|
this.descriptionEditorService.setValidationErrorModel(this.editorModel.validationErrorModel);
|
|
|
|
|
if (this.editorModel.status == DescriptionStatus.Finalized || this.isDeleted) {
|
|
|
|
|
this.viewOnly = true;
|
|
|
|
|
this.formGroup.disable();
|
|
|
|
|
}else{
|
|
|
|
|
this.viewOnly = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.registerFormListeners();
|
|
|
|
@ -618,7 +621,7 @@ export class DescriptionEditorComponent extends BaseEditor<DescriptionEditorMode
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.persistEntity();
|
|
|
|
|
// this.persistEntity();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public delete() {
|
|
|
|
|