fix(portal): Fix typo in sites index (#8139)

Fixes a typo introduced in #6905
This commit is contained in:
Jamil
2025-02-15 07:25:08 -08:00
committed by GitHub
parent b64a919ac0
commit 5a3e940334

View File

@@ -25,7 +25,8 @@ defmodule Web.Sites.Index do
),
connection when not is_nil(connection) <-
Enum.find(internet_resource.connections, fn connection ->
connection.gateway_group.name != "Internet" && connection.managed_by != "system"
connection.gateway_group.name != "Internet" &&
connection.gateway_group.managed_by != "system"
end) do
{internet_resource, connection.gateway_group.name}
else