fix(ui): сократить сводку большого списка WAN

This commit is contained in:
Denozordec committed 2026-10-04 23:43:57 +07:00
1 parent 0355343f9f
commit 8e3b7a65ce
7 files changed
+33 -5

No files matched your search

+2 -1
View File
@@ -298,7 +298,8 @@ function HomeRouterCard({ entry, jumpHosts, pinned, applied, applying, onPin, on
<span className="text-[10px] text-muted-foreground border border-border rounded px-1.5 py-0.5 font-mono break-all">{home.model}</span>
</div>
<div className="text-[11px] text-muted-foreground font-mono mt-0.5 break-all">
{home.wans.map(w => `${w.name} (${w.isp} · ${w.ip})`).join(" · ")}
{home.wans.slice(0,3).map(w => `${w.name} (${w.isp} · ${w.ip})`).join(" · ")}
{home.wans.length>3&&<p className="font-sans mt-1">Ещё {home.wans.length-3} WAN. Все {home.wans.length} аплинков — во вкладке WAN × JH.</p>}
</div>
</div>