ui: event table: default interval is 15 minutes
This commit is contained in:
parent
f618599d15
commit
fe7846d152
@ -40,6 +40,7 @@ import {
|
|||||||
EventContentDialogData
|
EventContentDialogData
|
||||||
} from '@home/components/event/event-content-dialog.component';
|
} from '@home/components/event/event-content-dialog.component';
|
||||||
import { isEqual, sortObjectKeys } from '@core/utils';
|
import { isEqual, sortObjectKeys } from '@core/utils';
|
||||||
|
import {historyInterval, MINUTE} from '@shared/models/time/time.models';
|
||||||
import { ConnectedPosition, Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';
|
import { ConnectedPosition, Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';
|
||||||
import { ChangeDetectorRef, Injector, StaticProvider, ViewContainerRef } from '@angular/core';
|
import { ChangeDetectorRef, Injector, StaticProvider, ViewContainerRef } from '@angular/core';
|
||||||
import { ComponentPortal } from '@angular/cdk/portal';
|
import { ComponentPortal } from '@angular/cdk/portal';
|
||||||
@ -89,6 +90,7 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
|
|||||||
this.loadDataOnInit = false;
|
this.loadDataOnInit = false;
|
||||||
this.tableTitle = '';
|
this.tableTitle = '';
|
||||||
this.useTimePageLink = true;
|
this.useTimePageLink = true;
|
||||||
|
this.defaultTimewindowInterval = historyInterval(MINUTE * 15);
|
||||||
this.detailsPanelEnabled = false;
|
this.detailsPanelEnabled = false;
|
||||||
this.selectionEnabled = false;
|
this.selectionEnabled = false;
|
||||||
this.searchEnabled = false;
|
this.searchEnabled = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user