Skip to content

Commit

Permalink
MID-6186 Following stages panel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Apr 27, 2020
1 parent 185a4de commit e3b9f01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -72,7 +72,7 @@ public static ApprovalProcessExecutionInformationDto createFrom(ApprovalSchemaEx
ApprovalProcessExecutionInformationDto rv =
new ApprovalProcessExecutionInformationDto(wholeProcess, currentStageNumber, numberOfStages, processName,
targetName, triggers, running);
int startingStageNumber = wholeProcess ? 1 : currentStageNumber+1;
int startingStageNumber = wholeProcess ? 1 : currentStageNumber;
boolean reachable = true;
for (int i = startingStageNumber; i <= numberOfStages; i++) {
ApprovalStageExecutionInformationDto stage = ApprovalStageExecutionInformationDto.createFrom(info, i, resolver, session, opTask, result);
Expand Down

0 comments on commit e3b9f01

Please sign in to comment.