mirror of
https://github.com/ash-project/ash_admin.git
synced 2024-09-20 05:12:54 +12:00
fix: send set tenant to parent liveview
This commit is contained in:
parent
defd653071
commit
94183dade6
1 changed files with 1 additions and 6 deletions
|
@ -10,12 +10,7 @@ defmodule AshAdmin.Components.TopNav.TenantForm do
|
|||
def render(assigns) do
|
||||
~H"""
|
||||
<div id={@id} class="relative text-white" phx-hook="Tenant" phx-target={@myself}>
|
||||
<.form
|
||||
:if={@editing_tenant}
|
||||
for={to_form(%{}, as: :tenant)}
|
||||
phx-submit={@set_tenant}
|
||||
phx-target={@myself}
|
||||
>
|
||||
<.form :if={@editing_tenant} for={to_form(%{}, as: :tenant)} phx-submit={@set_tenant}>
|
||||
<input
|
||||
type="text"
|
||||
name="tenant"
|
||||
|
|
Loading…
Reference in a new issue