mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-18 13:12:42 -04:00
forgot close bracket for new gotodeviceip
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
5939cf4e6c
commit
045fac4639
@ -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); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user