1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-02-14 12:01:52 +00:00

fix rdp port translation

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-02-20 22:38:46 +00:00
parent 936aaa0b2b
commit af3e7f6186

View file

@ -9007,7 +9007,7 @@
QE('connectbutton1', online);
QE('connectbutton1r', online || (currentNode.mtype == 3));
if (currentNode.rdpport && currentNode.rdpport != 3389) {
QH('desktopCustomUpperRight', '<a style="cursor:pointer;line-height:22px" onclick="cmaltportaction(1,event)">RDP Port ' + currentNode.rdpport + '</a>');
QH('desktopCustomUpperRight', '<a style="cursor:pointer;line-height:22px" onclick="cmaltportaction(1,event)">' + format("RDP Port {0}", (currentNode.rdpport?currentNode.rdpport:3389)) + '</a>');
} else {
QH('desktopCustomUpperRight', '');
}