Minor code cleanup
This commit is contained in:
parent
dbadab6e9b
commit
cbe5a26497
@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user