Fixes bug of disabled form on DMP editor.
This commit is contained in:
parent
4daa6c4eb2
commit
b6b2c93096
|
@ -111,7 +111,7 @@ export class DmpEditorComponent extends BaseComponent implements OnInit, IBreadC
|
||||||
this.dmp.fromModel(data);
|
this.dmp.fromModel(data);
|
||||||
this.formGroup = this.dmp.buildForm();
|
this.formGroup = this.dmp.buildForm();
|
||||||
this.setIsUserOwner();
|
this.setIsUserOwner();
|
||||||
if (this.isUserOwner) {
|
if (!this.isUserOwner) {
|
||||||
this.isFinalized = true;
|
this.isFinalized = true;
|
||||||
this.formGroup.disable();
|
this.formGroup.disable();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue