Merge pull request #18754 from 2000prcs/bugfix/add-missing-templateName-prop

Bugfix/pass missing `templateName` prop to `Stepper` in `Workflow` (GA4 event tracking bug fix)
This commit is contained in:
Ben Lambert
2023-07-24 10:44:44 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-react': patch
---
Fixed bug in Workflow component by passing a prop `templateName` down to Stepper component.
@@ -102,7 +102,7 @@ export const Workflow = (workflowProps: WorkflowProps): JSX.Element | null => {
noPadding
titleTypographyProps={{ component: 'h2' }}
>
<Stepper manifest={manifest} {...props} />
<Stepper manifest={manifest} templateName={templateName} {...props} />
</InfoCard>
)}
</Content>