feat(AppConnectionRow): embed skeleton in place of flow count

This commit is contained in:
Ali BARIN
2024-04-10 14:08:30 +00:00
parent 009cf63d8c
commit 196642a1cf

View File

@@ -153,10 +153,12 @@ function AppConnectionRow(props) {
sx={{ display: ['none', 'inline-block'] }}
>
{formatMessage('connection.flowCount', {
count: isConnectionFlowsLoading ? (
<Skeleton variant="rounded" width={20} height={20} />
) : (
countTranslation(flowCount)
count: countTranslation(
isConnectionFlowsLoading ? (
<Skeleton variant="text" width={15} />
) : (
flowCount
),
),
})}
</Typography>