Merge pull request #5882 from SDA-SE/feat/trailing-space

Remove the trailing space from a the aria-label of the Template "CHOOSE" button
This commit is contained in:
Dominik Henneke
2021-06-02 11:03:17 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Remove the trailing space from a the aria-label of the Template "CHOOSE" button.
@@ -182,7 +182,7 @@ export const TemplateCard = ({ template, deprecated }: TemplateCardProps) => {
<Button
color="primary"
to={href}
aria-label={`Choose ${templateProps.title} `}
aria-label={`Choose ${templateProps.title}`}
>
Choose
</Button>