Skip to content

Commit

Permalink
chore: fix dialyzer warning (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgraff authored Aug 2, 2023
1 parent 1824829 commit c27d1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash_admin/components/top_nav/tenant_form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ defmodule AshAdmin.Components.TopNav.TenantForm do
</button>
</.form>
<a :if={!@editing_tenant} href="#" phx-click="start_editing_tenant" phx-target={@myself}>
<%= "Tenant: #{@tenant}" || "No tenant" %>
<%= if @tenant, do: "Tenant: #{@tenant}", else: "No tenant" %>
</a>
<button :if={@tenant} phx-click={@clear_tenant}>
<svg
Expand Down

0 comments on commit c27d1c2

Please sign in to comment.