From f22171cae3554b4cbbbd03b9c617a732d02e45ac Mon Sep 17 00:00:00 2001 From: Thelonius Kort Date: Thu, 5 Jan 2023 22:24:30 +0100 Subject: [PATCH] Add apparently forgotten assignment --- lib/outlook_web/live/translation_live/form_component.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/outlook_web/live/translation_live/form_component.ex b/lib/outlook_web/live/translation_live/form_component.ex index 672a43a..c261adf 100644 --- a/lib/outlook_web/live/translation_live/form_component.ex +++ b/lib/outlook_web/live/translation_live/form_component.ex @@ -54,6 +54,7 @@ defmodule OutlookWeb.TranslationLive.FormComponent do {:ok, socket |> assign(assigns) + |> assign(:current_tunit, nil) |> assign(:changeset, changeset) |> assign(:deepl_progress, nil)} end