Merge pull request #6690 from volodymyr-babak/bug/edge-fix-delayed-status

[UI][3.4] Fixed bug with incorrect display of delayed status
This commit is contained in:
Igor Kulikov 2022-06-10 18:05:07 +03:00 committed by GitHub
commit 5fef80a990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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