Skip to content
Snippets Groups Projects
Commit 2807a488 authored by Tóth Miklós Tibor's avatar Tóth Miklós Tibor :shrug:
Browse files

misc fixes

parent e5cbf65f
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
} }
}) })
toRemoveNodes.forEach(node => { toRemoveNodes.forEach(node => {
node.remove(node) nodes.remove(node)
}) })
reloadBtn.innerText = "reload"; reloadBtn.innerText = "reload";
reloadBtn.disabled = false; reloadBtn.disabled = false;
......
...@@ -44,7 +44,6 @@ func visJSFromGraph(roots []*models.GraphNode) *visJS { ...@@ -44,7 +44,6 @@ func visJSFromGraph(roots []*models.GraphNode) *visJS {
for d := range devicesMap { for d := range devicesMap {
shape := "diamond" shape := "diamond"
color := LocationColor(d.Location) color := LocationColor(d.Location)
fmt.Println(d.Type)
switch d.Type.Get() { switch d.Type.Get() {
case d.Type.Ups: case d.Type.Ups:
shape = "ellipse" shape = "ellipse"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment