Fix RDP button disappearing on client list update

parent f9dd2815
......@@ -102,6 +102,9 @@ function updateClients() {
if (services.includes('vnc')) {
actionsHtml += `<a href="/vnc/${clientId}" class="btn btn-info btn-sm me-1"><i class="fas fa-desktop"></i> VNC</a>`;
}
if (services.includes('rdp')) {
actionsHtml += `<a href="/rdp/${clientId}" class="btn btn-primary btn-sm me-1"><i class="fas fa-windows"></i> RDP</a>`;
}
clientListHtml += `
<div class="col-md-4 mb-3">
<div class="card client-card h-100">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment