Browse Source

Refactoring

pull/5034/head
Kalutka Zhenya 5 years ago
parent
commit
c7b1d70fbd
  1. 2
      ui-ngx/src/app/modules/home/components/entity/entity.component.ts

2
ui-ngx/src/app/modules/home/components/entity/entity.component.ts

@ -50,6 +50,7 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
@Input()
set isEdit(isEdit: boolean) {
this.isEditValue = isEdit;
this.cd.markForCheck();
this.updateFormState();
}
@ -107,7 +108,6 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
} else {
this.entityForm.disable({emitEvent: false});
}
this.cd.markForCheck();
}
}

Loading…
Cancel
Save