Skip to content

Commit

Permalink
fixup 6 wip
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicbites committed Sep 11, 2024
1 parent 8342c0b commit 2ef781e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/radiator/outline.ex
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,11 @@ defmodule Radiator.Outline do
{:ok, main_move_result} =
move_node(node.uuid, prev_id: parent_node.uuid, parent_id: parent_node.parent_id)

Enum.reduce(new_children, nil, fn n, prev_id ->
move_node_if(n, node.uuid, prev_id)
n.uuid
end)
_t =
Enum.reduce(new_children, nil, fn n, prev_id ->
move_node_if(n, node.uuid, prev_id)
n.uuid
end)

{:ok, Map.put(main_move_result, :children, new_children)}
end
Expand Down

0 comments on commit 2ef781e

Please sign in to comment.