fix(AppRow): use app key for links instead of name
This commit is contained in:
@@ -25,11 +25,11 @@ const countTranslation = (value: React.ReactNode) => (
|
|||||||
|
|
||||||
function AppRow(props: AppRowProps): React.ReactElement {
|
function AppRow(props: AppRowProps): React.ReactElement {
|
||||||
const formatMessage = useFormatMessage();
|
const formatMessage = useFormatMessage();
|
||||||
const { name, primaryColor, iconUrl, connectionCount, flowCount } =
|
const { name, key, primaryColor, iconUrl, connectionCount, flowCount } =
|
||||||
props.application;
|
props.application;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link to={URLS.APP(name.toLowerCase())} data-test="app-row">
|
<Link to={URLS.APP(key)} data-test="app-row">
|
||||||
<Card sx={{ mb: 1 }}>
|
<Card sx={{ mb: 1 }}>
|
||||||
<CardActionArea>
|
<CardActionArea>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
|
Reference in New Issue
Block a user