diff --git a/lib/chiya_web/controllers/page_html/home.html.heex b/lib/chiya_web/controllers/page_html/home.html.heex index 792f313..df2205b 100644 --- a/lib/chiya_web/controllers/page_html/home.html.heex +++ b/lib/chiya_web/controllers/page_html/home.html.heex @@ -8,7 +8,7 @@
- <%= for identity <- @identities do %> + <%= for identity <- @public_identities do %>
assign(:identities, identities) + |> assign(:public_identities, Enum.filter(identities, fn i -> i.public && i.active end)) end def fetch_public_channels(conn, _opts) do