show array of types on installations actions page
Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
---
|
||||
|
||||
Show input type array correctly on installed actions page.
|
||||
@@ -22,6 +22,7 @@ import {
|
||||
Table,
|
||||
TableBody,
|
||||
Box,
|
||||
Chip,
|
||||
TableCell,
|
||||
TableContainer,
|
||||
TableHead,
|
||||
@@ -107,7 +108,11 @@ export const ActionsPage = () => {
|
||||
<TableCell>{props.title}</TableCell>
|
||||
<TableCell>{props.description}</TableCell>
|
||||
<TableCell>
|
||||
<span className={classes.code}>{props.type}</span>
|
||||
<>
|
||||
{[props.type].flat().map(type => (
|
||||
<Chip label={type} />
|
||||
))}
|
||||
</>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user