Add some forgotten code
This commit is contained in:
@ -147,7 +147,8 @@ defmodule OutlookWeb.TranslationLive.FormComponent do
|
||||
InternalTree.add_phx_click_event(translation.article.content,
|
||||
nodes: :tunits,
|
||||
click: "select_current_tunit",
|
||||
target: socket.assigns.myself))
|
||||
target: socket.assigns.myself)
|
||||
|> InternalTree.garnish(%{tunits: %{class: "tunit"}}))
|
||||
end
|
||||
|
||||
defp update_translation_with_current_tunit(socket, nil), do: socket
|
||||
|
||||
Reference in New Issue
Block a user