We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f312ac0 commit 513e79fCopy full SHA for 513e79f
1 file changed
lib/live_debugger_web/live/sidebar_live.ex
@@ -135,6 +135,13 @@ defmodule LiveDebuggerWeb.SidebarLive do
135
|> noreply()
136
end
137
138
+ @impl true
139
+ def handle_info({:node_changed, node_id}, socket) do
140
+ socket
141
+ |> assign(:node_id, node_id)
142
+ |> noreply()
143
+ end
144
+
145
@impl true
146
def handle_event("open-sidebar", _, socket) do
147
socket
0 commit comments