fix(filters): восстановить связь рекурсивного шлюза после опроса

This commit is contained in:
Denozordec committed 2026-10-15 23:17:42 +07:00
1 parent 042407f03e
commit 0f0d3aa060
4 files changed
+74 -4

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ function FilterGatewayCell({
? recursiveRoutes.find((r) => r.id === rule.gatewayTunnelId.slice(4))
: undefined
const recRowByHop =
!isBlackhole && !(rule.gatewayTunnelId ?? "").trim() && rule.gateway.trim()
!isBlackhole && !recRowByRef && (isRecRef || !(rule.gatewayTunnelId ?? "").trim()) && rule.gateway.trim()
? pickRecursiveRouteByGatewayHop(recursiveRoutes, rule.gateway)
: undefined
const recRow = recRowByRef ?? recRowByHop