Fixes bug of disabled form on DMP editor.

This commit is contained in:
gkolokythas 2019-12-20 12:18:57 +02:00
parent 4daa6c4eb2
commit b6b2c93096
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ export class DmpEditorComponent extends BaseComponent implements OnInit, IBreadC
this.dmp.fromModel(data);
this.formGroup = this.dmp.buildForm();
this.setIsUserOwner();
if (this.isUserOwner) {
if (!this.isUserOwner) {
this.isFinalized = true;
this.formGroup.disable();
}