fix(filters): восстановить связь рекурсивного шлюза после опроса
This commit is contained in:
1 parent
042407f03e
commit
0f0d3aa060
4 files changed
+74
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user