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); }