Fixed bug with incorrect display of delayed status
This commit is contained in:
parent
ba9a768f7a
commit
bb8e6a0443
@ -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');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user