Skip to content

Commit 857bcc6

Browse files
committed
[fix] Fixed real time updates in non-admin visualizer #250
Based on f8bb68c. Closes #250 Signed-off-by: Federico Capoano <f.capoano@openwisp.io>
1 parent ca8b029 commit 857bcc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openwisp_network_topology/templates/netjsongraph/netjsongraph-script.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
const data=JSON.parse(e.data);
149149
if(data.type==="broadcast_topology"){
150150
const topology=JSON.parse(data.topology);
151-
window.graph.utils.JSONDataUpdate.call(window.graph, topology);
151+
graph.utils.JSONDataUpdate.call(graph, topology);
152152
}
153153
}
154154

0 commit comments

Comments
 (0)