diff --git a/lib/cannery_web/live/container_live/index.ex b/lib/cannery_web/live/container_live/index.ex index fdd4b54a..7f71590a 100644 --- a/lib/cannery_web/live/container_live/index.ex +++ b/lib/cannery_web/live/container_live/index.ex @@ -16,7 +16,7 @@ defmodule CanneryWeb.ContainerLive.Index do @impl true def handle_params(params, _url, %{assigns: %{live_action: live_action}} = socket) do - {:noreply, apply_action(socket, live_action, params)} + {:noreply, apply_action(socket, live_action, params) |> display_containers()} end defp apply_action(%{assigns: %{current_user: current_user}} = socket, :edit, %{"id" => id}) do diff --git a/lib/cannery_web/live/tag_live/index.ex b/lib/cannery_web/live/tag_live/index.ex index 12565d7e..fdece489 100644 --- a/lib/cannery_web/live/tag_live/index.ex +++ b/lib/cannery_web/live/tag_live/index.ex @@ -15,7 +15,7 @@ defmodule CanneryWeb.TagLive.Index do @impl true def handle_params(params, _url, %{assigns: %{live_action: live_action}} = socket) do - {:noreply, apply_action(socket, live_action, params)} + {:noreply, apply_action(socket, live_action, params) |> display_tags} end defp apply_action(%{assigns: %{current_user: current_user}} = socket, :edit, %{"id" => id}) do