diff --git a/ui/src/app/components/webcomponents/action-step-result-details.component.ts b/ui/src/app/components/webcomponents/action-step-result-details.component.ts index 9c7a886d..98748c65 100644 --- a/ui/src/app/components/webcomponents/action-step-result-details.component.ts +++ b/ui/src/app/components/webcomponents/action-step-result-details.component.ts @@ -149,7 +149,7 @@ export class ActionStepResultDetailsComponent extends BaseComponent implements O } get preRequisiteStep() { - return this.preRequestStep?.testStep?.stepDisplayNumber ? this.preRequestStep?.testStep?.stepDisplayNumber : (this.preRequestStep?.stepDetail?.order_id) + return this.preRequestStep?.testStep?.stepDisplayNumber ? this.preRequestStep?.testStep?.stepDisplayNumber : (this.preRequestStep?.stepDetail?.order_id + 1) } fetchElementByName(elementName, addonElement?) { diff --git a/ui/src/app/models/step-details.model.ts b/ui/src/app/models/step-details.model.ts index 6d869ffe..9304acfa 100644 --- a/ui/src/app/models/step-details.model.ts +++ b/ui/src/app/models/step-details.model.ts @@ -19,7 +19,7 @@ export class StepDetails extends Base implements Deserializable { public conditionType: TestStepConditionType; @serializable public action: String; - @serializable(alias('position', custom(() => SKIP, (v) => v))) + @serializable public order_id: Number; @serializable public priority: TestStepPriority;