Skip to content

Commit 97bf815

Browse files
committed
update content
1 parent b8881b7 commit 97bf815

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/radiator_web/live/components/outline.ex

-9
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@ defmodule RadiatorWeb.Components.Outline do
2525
|> reply(:ok)
2626
end
2727

28-
# TODO: beim zusammenziehen von nodes ist es wichtig, dass wir
29-
# (also der verursacher) auch den neuen content erhalten
30-
31-
def update(
32-
%{event: %NodeContentChangedEvent{event_id: <<_::binary-size(36)>> <> ":" <> id}},
33-
%{id: id} = socket
34-
),
35-
do: reply(socket, :ok)
36-
3728
def update(%{event: %NodeContentChangedEvent{node_id: node_id, content: content}}, socket) do
3829
socket
3930
|> push_event("set_content", %{uuid: node_id, content: content})

0 commit comments

Comments
 (0)