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'] }} sx={{ display: ['none', 'inline-block'] }}
> >
{formatMessage('connection.flowCount', { {formatMessage('connection.flowCount', {
count: isConnectionFlowsLoading ? ( count: countTranslation(
<Skeleton variant="rounded" width={20} height={20} /> isConnectionFlowsLoading ? (
) : ( <Skeleton variant="text" width={15} />
countTranslation(flowCount) ) : (
flowCount
),
), ),
})} })}
</Typography> </Typography>