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 09dd2be4dc..5ad569c45e 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 @@ -17,7 +17,7 @@ import { BaseData, HasId } from '@shared/models/base-data'; import { FormBuilder, FormGroup, NgForm } from '@angular/forms'; import { PageComponent } from '@shared/components/page.component'; -import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core'; +import { Directive, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { EntityAction } from '@home/models/entity/entity-component.models'; @@ -25,7 +25,8 @@ import { EntityTableConfig } from '@home/models/entity/entities-table-config.mod import { PageLink } from '@shared/models/page/page-link'; // @dynamic -@Component({}) +@Directive() +// tslint:disable-next-line:directive-class-suffix export abstract class EntityComponent, P extends PageLink = PageLink, L extends BaseData = T,