fix(ui): исключить подстановку моковых WAN в live расчёт

This commit is contained in:
Denozordec committed 2026-10-01 00:58:59 +07:00
1 parent 338335ddc0
commit 6e6558bde9
7 files changed
+35 -41

No files matched your search

+1
View File
@@ -346,6 +346,7 @@ function HomeRouterCard({ entry, jumpHosts, pinned, applied, applying, onPin, on
))}
</div>
{home.wans.length === 0 && <p className="px-5 py-3 text-xs text-muted-foreground">Нет WAN-аплинков для расчёта. <Link className="underline underline-offset-4 focus-visible:ring-2 focus-visible:ring-ring" href={"/servers?server="+encodeURIComponent(home.id)}>Настроить сервер</Link></p>}
{/* Tab content */}
{tab === "wan-matrix" && (
<RouteOptimizerWanMatrixDataGrid home={home} legs={wanJhLegs} jumpHosts={jumpHosts} />