1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added option to remove noVNC link

This commit is contained in:
Ylian Saint-Hilaire 2020-06-09 12:03:30 -07:00
parent 6d2990ae06
commit c7cb610f92
58 changed files with 3 additions and 56 deletions

View file

@ -5363,7 +5363,7 @@
}
// noVNC link
if (((connectivity & 1) != 0) && (node.agent) && ((meshrights & 8) != 0)) {
if (((connectivity & 1) != 0) && (node.agent) && ((meshrights & 8) != 0) && ((features & 0x20000000) == 0)) {
x += '<a href=# cmenu=rfbPortContextMenu id=rfbLink onclick=p10rfb("' + node._id + '") title="' + "Launch noVNC session to this device" + '.">' + "noVNC" + '</a>&nbsp;';
}