Fixed bug with incorrect display of delayed status

This commit is contained in:
Volodymyr Babak 2022-06-10 17:32:12 +03:00
parent ba9a768f7a
commit bb8e6a0443

View File

@ -138,7 +138,7 @@ export class EdgeDownlinkTableConfig extends EntityTableConfig<EdgeEvent, TimePa
} }
private updateEdgeEventStatus(createdTime: number): string { private updateEdgeEventStatus(createdTime: number): string {
if (this.queueStartTs && createdTime < this.queueStartTs) { if (this.queueStartTs && createdTime <= this.queueStartTs) {
return this.translate.instant('edge.deployed'); return this.translate.instant('edge.deployed');
} else { } else {
return this.translate.instant('edge.pending'); return this.translate.instant('edge.pending');