Do not show timer for skipped steps

Signed-off-by: afalco <afalco@indeed.com>
This commit is contained in:
afalco
2023-03-09 10:49:34 -06:00
parent cd5cf69a61
commit 9b8c374ace
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-react': patch
---
Remove timer for skipped steps in Scaffolder Next's TaskSteps
@@ -80,7 +80,7 @@ export const TaskSteps = (props: TaskStepsProps) => {
StepIconComponent={StepIcon}
>
<Box>{step.name}</Box>
<StepTime step={step} />
{!isSkipped && <StepTime step={step} />}
</MuiStepLabel>
</MuiStepButton>
</MuiStep>