fixed height issue, fixed code for grouping in diagram

This commit is contained in:
sara-pervana
2024-01-16 21:21:20 +01:00
committed by Sara Pervana
parent 9f03c187f3
commit 13de134bb0
6 changed files with 45 additions and 49 deletions

View File

@@ -154,6 +154,8 @@ export default function Client({
setSnackbarOpen(false);
};
console.log("entity", entity);
if (services_loading) return <Skeleton height={500} />;
if (!services) return <Alert severity="error">Client not found</Alert>;
@@ -193,7 +195,7 @@ export default function Client({
IP: <code>{entity?.ip}</code>
</Typography>
<Typography color="text.primary" gutterBottom>
Network: <code>{entity?.other?.network}</code>
Network: <code>{entity?.network}</code>
</Typography>
</CardContent>
</Card>