fix(AppRow): use app key for links instead of name

This commit is contained in:
Ali BARIN
2022-12-04 21:24:19 +01:00
parent 2e4ecfab16
commit 4b0916a214

View File

@@ -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>