Add a separator for listing required permissions (#29272)

Closes #29213

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
This commit is contained in:
James Hewitt 2024-05-07 21:34:06 +01:00 committed by GitHub
parent 927ba48f7a
commit aa5c7c0310
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@ export const ForbiddenSection = ({
return ( return (
<PageSection> <PageSection>
{t("forbidden", { count: permissionNeededArray.length })}{" "} {t("forbidden", { count: permissionNeededArray.length })}{" "}
{permissionNeededArray.map((p) => p.toString())} {permissionNeededArray.map((p) => p.toString()).join(", ")}
</PageSection> </PageSection>
); );
}; };