Signed-off-by: Pascal Lukanek <pascal.lukanek@live.de>
This commit is contained in:
Pascal Lukanek
2022-11-02 20:42:33 +01:00
parent 38dd29ea95
commit 08152905d2
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -2,5 +2,4 @@
'@backstage/plugin-org': patch
---
Add entity type to the Ownership Cards.
Fix the query params for the links of the Ownership Cards so that the catalog page actually selects the right entity kind.
Add entity kind to the Ownership Cards. Fix the query params for the links of the Ownership Cards so that the catalog page actually selects the right entity kind.
@@ -82,7 +82,7 @@ const EntityCountTile = ({
<Typography className={classes.bold} variant="h6">
{pluralize(name, counter)}
</Typography>
{kind != type && <Typography variant="subtitle1">{kind}</Typography>}
{kind !== type && <Typography variant="subtitle1">{kind}</Typography>}
</Box>
</Link>
);
@@ -49,7 +49,7 @@ const getQueryParams = (
humanizeEntityRef(parseEntityRef(owner), { defaultKind: 'group' }),
);
const filters = {
kind: kind.toLowerCase(),
kind: kind.toLocaleLowerCase('en-US'),
type,
owners,
user: 'all',