Minor code cleanup

This commit is contained in:
Artem Babak 2021-06-07 07:44:32 +03:00
parent dbadab6e9b
commit cbe5a26497

View File

@ -74,12 +74,10 @@ export class EdgeDownlinkTableConfig extends EntityTableConfig<EdgeEvent, TimePa
this.entitiesDeleteEnabled = false; this.entitiesDeleteEnabled = false;
this.headerComponent = EdgeDownlinkTableHeaderComponent; this.headerComponent = EdgeDownlinkTableHeaderComponent;
this.entityTranslations = { this.entityTranslations = { noEntities: 'edge.no-downlinks-prompt' };
noEntities: 'edge.no-downlinks-prompt'
};
this.entityResources = {} as EntityTypeResource<EdgeEvent>; this.entityResources = {} as EntityTypeResource<EdgeEvent>;
this.entitiesFetchFunction = pageLink => this.fetchEvents(pageLink); this.entitiesFetchFunction = pageLink => this.fetchEvents(pageLink);
this.defaultSortOrder = {property: 'createdTime', direction: Direction.DESC}; this.defaultSortOrder = { property: 'createdTime', direction: Direction.DESC };
this.updateColumns(); this.updateColumns();
} }