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