From af3e7f6186bd4c96fa195e0b1f866b7fed5896a1 Mon Sep 17 00:00:00 2001 From: si458 Date: Tue, 20 Feb 2024 22:38:46 +0000 Subject: [PATCH] fix rdp port translation Signed-off-by: si458 --- views/default.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default.handlebars b/views/default.handlebars index 449df7e9..1d5569cd 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -9007,7 +9007,7 @@ QE('connectbutton1', online); QE('connectbutton1r', online || (currentNode.mtype == 3)); if (currentNode.rdpport && currentNode.rdpport != 3389) { - QH('desktopCustomUpperRight', 'RDP Port ' + currentNode.rdpport + ''); + QH('desktopCustomUpperRight', '' + format("RDP Port {0}", (currentNode.rdpport?currentNode.rdpport:3389)) + ''); } else { QH('desktopCustomUpperRight', ''); }