Skip to content

Commit

Permalink
Fix wrong syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSedon committed Aug 26, 2024
1 parent 0494e62 commit b22c330
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/schema_web/views/page_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ defmodule SchemaWeb.PageView do
end

cond do
observable_type_id_map in [nil, {nil, nil}] ->
observable_type_id_map == nil ->
{nil, nil}

observable_type_id_map == {nil, nil} ->
{nil, nil}

Map.has_key?(entity, :observable) ->
Expand Down

0 comments on commit b22c330

Please sign in to comment.