diff --git a/projects/player/src/app/services/unit-state.service.ts b/projects/player/src/app/services/unit-state.service.ts index de75bbcc91608495c53954fd64025693b264cb81..3e7a67b5d2b34bec693f875be1c038e3ecd0bc51 100644 --- a/projects/player/src/app/services/unit-state.service.ts +++ b/projects/player/src/app/services/unit-state.service.ts @@ -83,7 +83,7 @@ export class UnitStateService { const unitStateElementCode = this.getUnitStateElement(id); if (unitStateElementCode) { // Set status only if it is higher than the old status - if (UnitStateElementCodeStatusValue[status] > UnitStateElementCodeStatusValue[unitStateElementCode.status]) { + if (UnitStateElementCodeStatusValue[status] >= UnitStateElementCodeStatusValue[unitStateElementCode.status]) { unitStateElementCode.status = status; this._unitStateElementCodeChanged.next(unitStateElementCode); this.checkPresentedPageStatus(id);