dialyzer fix
This commit is contained in:
parent
197a515386
commit
378dc5f8ec
1 changed files with 4 additions and 3 deletions
|
|
@ -9,9 +9,10 @@ defmodule ToweropsWeb.NetworkMapLive do
|
|||
organization = socket.assigns.current_organization
|
||||
|
||||
# Subscribe to topology changes if connected
|
||||
if connected?(socket) do
|
||||
Phoenix.PubSub.subscribe(Towerops.PubSub, "topology:#{organization.id}")
|
||||
end
|
||||
_ =
|
||||
if connected?(socket) do
|
||||
Phoenix.PubSub.subscribe(Towerops.PubSub, "topology:#{organization.id}")
|
||||
end
|
||||
|
||||
# Default empty topology
|
||||
default_topology = %{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue