fix(ui): показывать сведения о рукопожатии без ложного статуса

This commit is contained in:
Denozordec committed 2026-10-04 12:21:53 +07:00
1 parent 837298a171
commit c6702efcc4
9 files changed
+53 -16

No files matched your search

@@ -141,10 +141,10 @@ function WireguardPeersGrid({
<span
className={cn(
"whitespace-nowrap font-mono text-[11px]",
row.original.latestHandshake ? "text-success" : "text-muted-foreground",
"text-muted-foreground",
)}
>
{row.original.latestHandshake ?? "нет рукопожатия"}
{row.original.latestHandshake?.trim() || "Нет данных"}
</span>
),
meta: {