Commit c7b1d70fbde8bc052560dbd95687adeedc51f7c5

Authored by Kalutka Zhenya
1 parent 31f7ec98

Refactoring

... ... @@ -50,6 +50,7 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
50 50 @Input()
51 51 set isEdit(isEdit: boolean) {
52 52 this.isEditValue = isEdit;
  53 + this.cd.markForCheck();
53 54 this.updateFormState();
54 55 }
55 56
... ... @@ -107,7 +108,6 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
107 108 } else {
108 109 this.entityForm.disable({emitEvent: false});
109 110 }
110   - this.cd.markForCheck();
111 111 }
112 112 }
113 113
... ...