fix(frontend): IPAM translations, dialog width cap, workspace counts

This commit is contained in:
2026-06-13 08:45:31 +05:00
parent 8659ba5a92
commit 82a6e0e24a
5 changed files with 53 additions and 3 deletions

View File

@@ -82,8 +82,8 @@ export default function WorkspacesPage() {
</CardHeader>
<CardContent className="space-y-2">
<div className="flex items-center gap-4 text-sm text-muted-foreground">
<div className="flex items-center gap-1"><Server className="h-3.5 w-3.5" />{ws.servers?.length ?? 0} {t('workspaces.servers')}</div>
<div className="flex items-center gap-1"><Users className="h-3.5 w-3.5" />{ws.users?.length ?? 0} {t('workspaces.users')}</div>
<div className="flex items-center gap-1"><Server className="h-3.5 w-3.5" />{ws.server_count ?? ws.servers?.length ?? 0} {t('workspaces.servers')}</div>
<div className="flex items-center gap-1"><Users className="h-3.5 w-3.5" />{ws.user_count ?? ws.users?.length ?? 0} {t('workspaces.users')}</div>
</div>
{ws.servers && ws.servers.length > 0 && (
<div className="flex flex-wrap gap-1">