From cb894d70594f33b49027ca76a87b78ded06f9801 Mon Sep 17 00:00:00 2001 From: Artem Babak Date: Mon, 26 Oct 2020 15:07:09 +0200 Subject: [PATCH] Transform Injected Window to optional --- .../src/app/modules/home/components/entity/entity.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/entity/entity.component.ts b/ui-ngx/src/app/modules/home/components/entity/entity.component.ts index d961efbb2e..47c569f61e 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entity.component.ts +++ b/ui-ngx/src/app/modules/home/components/entity/entity.component.ts @@ -82,7 +82,7 @@ export abstract class EntityComponent, 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); }