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 fb: FormBuilder,
protected entityValue: T, protected entityValue: T,
protected entitiesTableConfigValue: C, protected entitiesTableConfigValue: C,
@Inject(WINDOW) protected window: Window) { @Inject(WINDOW) protected window?: Window) {
super(store); super(store);
this.entityForm = this.buildForm(this.entityValue); this.entityForm = this.buildForm(this.entityValue);
} }

Loading…
Cancel
Save