Browse Source

UI: Refacoring hide clear event

pull/13346/head
Artem Dzhereleiko 1 year ago
parent
commit
9bb50ae355
  1. 2
      ui-ngx/src/app/modules/home/components/event/event-table.component.ts

2
ui-ngx/src/app/modules/home/components/event/event-table.component.ts

@ -156,7 +156,7 @@ export class EventTableComponent implements OnInit, AfterViewInit, OnDestroy {
}
ngAfterViewInit() {
this.isEmptyData$ = this.entitiesTable.dataSource.isEmpty().subscribe(value => this.eventTableConfig.hideClearEventAction = value);
this.isEmptyData$ = this.entitiesTable.dataSource.isEmpty().subscribe(value => this.eventTableConfig.hideClearEventAction = value || this.hideClearEventAction);
}
ngOnDestroy() {

Loading…
Cancel
Save