mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
forgot close bracket for new gotodeviceip
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -4533,7 +4533,7 @@
|
|||||||
var foundNode = null;
|
var foundNode = null;
|
||||||
if (nodes != null) { for (var i in nodes) { if (nodes[i].rname == args.gotodevicername) { foundNode = nodes[i]._id; } } }
|
if (nodes != null) { for (var i in nodes) { if (nodes[i].rname == args.gotodevicername) { foundNode = nodes[i]._id; } } }
|
||||||
if (foundNode) { gotoDevice(foundNode, xviewmode); goBackStack.push(1); }
|
if (foundNode) { gotoDevice(foundNode, xviewmode); goBackStack.push(1); }
|
||||||
else if (args.gotodeviceip != null) {
|
} else if (args.gotodeviceip != null) {
|
||||||
var foundNode = null;
|
var foundNode = null;
|
||||||
if (nodes != null) { for (var i in nodes) { if (nodes[i].ip == args.gotodeviceip) { foundNode = nodes[i]._id; } } }
|
if (nodes != null) { for (var i in nodes) { if (nodes[i].ip == args.gotodeviceip) { foundNode = nodes[i]._id; } } }
|
||||||
if (foundNode) { gotoDevice(foundNode, xviewmode); goBackStack.push(1); }
|
if (foundNode) { gotoDevice(foundNode, xviewmode); goBackStack.push(1); }
|
||||||
|
|||||||
Reference in New Issue
Block a user