{{#each filtered as |stage stageIndex| }}
  {{#build-stage
     title=(pipeline-stages-info stageInfo stageIndex false "name")
     status=stage.state
     date=(date-str stage.started)
     duration=(date-duration stage.ended stage.started)
     statusClass=stage.state
     stageIndex=stageIndex
     stepIndex=0
     activity=activity
     logKeyChanged=logKeyChanged
     expandAll=true
     expand=(action expandFn)
     componentName="pipeline-history-table"
     as | parent |
  }}
    {{#each stage.steps as |step stepIndex|}}
      {{#build-step
         activity=activity
         step=step
         stageInfo=stageInfo
         stageIndex=stageIndex
         stepIndex=stepIndex
         stageIndexLog=stageIndexLog
         stepIndexLog=stepIndexLog
         logKeyChanged=logKeyChanged
      }}
      {{/build-step}}
    {{/each}}
  {{/build-stage}}
{{/each}}