From 94183dade66958f0d3c458b103364927c2b9185a Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Sun, 30 Jul 2023 22:03:54 -0400 Subject: [PATCH] fix: send set tenant to parent liveview --- lib/ash_admin/components/top_nav/tenant_form.ex | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/ash_admin/components/top_nav/tenant_form.ex b/lib/ash_admin/components/top_nav/tenant_form.ex index 750598d..057bea0 100644 --- a/lib/ash_admin/components/top_nav/tenant_form.ex +++ b/lib/ash_admin/components/top_nav/tenant_form.ex @@ -10,12 +10,7 @@ defmodule AshAdmin.Components.TopNav.TenantForm do def render(assigns) do ~H"""
- <.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}>