UI: Event table hide clear event button as input
This commit is contained in:
parent
0082b6d443
commit
ecc82d8c04
@ -59,7 +59,6 @@ import { AppState } from '@core/core.state';
|
|||||||
export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
|
export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
|
||||||
|
|
||||||
eventTypeValue: EventType | DebugEventType;
|
eventTypeValue: EventType | DebugEventType;
|
||||||
hideClearEventAction = false;
|
|
||||||
|
|
||||||
private filterParams: FilterEventBody = {};
|
private filterParams: FilterEventBody = {};
|
||||||
private filterColumns: FilterEntityColumn[] = [];
|
private filterColumns: FilterEntityColumn[] = [];
|
||||||
@ -95,7 +94,8 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
|
|||||||
private cd: ChangeDetectorRef,
|
private cd: ChangeDetectorRef,
|
||||||
private store: Store<AppState>,
|
private store: Store<AppState>,
|
||||||
public testButtonLabel?: string,
|
public testButtonLabel?: string,
|
||||||
private debugEventSelected?: EventEmitter<EventBody>) {
|
private debugEventSelected?: EventEmitter<EventBody>,
|
||||||
|
public hideClearEventAction = false) {
|
||||||
super();
|
super();
|
||||||
this.loadDataOnInit = false;
|
this.loadDataOnInit = false;
|
||||||
this.tableTitle = '';
|
this.tableTitle = '';
|
||||||
|
|||||||
@ -58,6 +58,9 @@ export class EventTableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
@Input()
|
@Input()
|
||||||
debugEventTypes: Array<DebugEventType>;
|
debugEventTypes: Array<DebugEventType>;
|
||||||
|
|
||||||
|
@Input()
|
||||||
|
hideClearEventAction: boolean = false;
|
||||||
|
|
||||||
activeValue = false;
|
activeValue = false;
|
||||||
dirtyValue = false;
|
dirtyValue = false;
|
||||||
entityIdValue: EntityId;
|
entityIdValue: EntityId;
|
||||||
@ -147,7 +150,8 @@ export class EventTableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
this.cd,
|
this.cd,
|
||||||
this.store,
|
this.store,
|
||||||
this.functionTestButtonLabel,
|
this.functionTestButtonLabel,
|
||||||
this.debugEventSelected
|
this.debugEventSelected,
|
||||||
|
this.hideClearEventAction
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user