Browse Source

Transform Injected Window to optional

pull/3811/head
Artem Babak 6 years ago
parent
commit
cb894d7059
  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

@ -82,7 +82,7 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
protected fb: FormBuilder,
protected entityValue: T,
protected entitiesTableConfigValue: C,
@Inject(WINDOW) protected window: Window) {
@Inject(WINDOW) protected window?: Window) {
super(store);
this.entityForm = this.buildForm(this.entityValue);
}

Loading…
Cancel
Save