Commit cb894d70594f33b49027ca76a87b78ded06f9801

Authored by Artem Babak
1 parent 54f0bd4b

Transform Injected Window to optional

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