Skip to content

Commit

Permalink
fix: socket not found
Browse files Browse the repository at this point in the history
  • Loading branch information
ruilopesm committed Sep 23, 2024
1 parent 9ac6a8c commit 8eaeea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/atomic_web/live/department_live/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,6 @@
</div>
</div>
</div>
<.modal :if={@live_action in [:edit_collaborator]} id="edit-collaborator" show on_cancel={~p"/organizations/#{socket.assigns.organization}/departments/#{socket.assigns.department}?#{Map.delete(socket.assigns.params, "collaborator_id")}"}>
<.modal :if={@live_action in [:edit_collaborator]} id="edit-collaborator" show on_cancel={~p"/organizations/#{@organization}/departments/#{@department}?#{Map.delete(@params, "collaborator_id")}"}>
<.live_component module={AtomicWeb.CollaboratorLive.FormComponent} id={@collaborator.id} title={@page_title} action={@live_action} collaborator={@collaborator} department={@department} />
</.modal>

0 comments on commit 8eaeea4

Please sign in to comment.