feat: add non-auth apps and flowCount in getConnectedApps

This commit is contained in:
Ali BARIN
2022-08-05 16:13:50 +02:00
parent ae8f701e5c
commit 533d73d718
5 changed files with 35 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ const countTranslation = (value: React.ReactNode) => (
function AppRow(props: AppRowProps): React.ReactElement {
const formatMessage = useFormatMessage();
const { name, primaryColor, iconUrl, connectionCount } = props.application;
const { name, primaryColor, iconUrl, connectionCount, flowCount } = props.application;
return (
<Link to={URLS.APP(name.toLowerCase())}>
@@ -52,7 +52,7 @@ function AppRow(props: AppRowProps): React.ReactElement {
<Box sx={{ px: 2 }}>
<Typography variant="caption" color="textSecondary" sx={{ display: ['none', 'inline-block'] }}>
{formatMessage('app.flowCount', { count: countTranslation(0) })}
{formatMessage('app.flowCount', { count: countTranslation(flowCount) })}
</Typography>
</Box>