mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-624: Fix isActive() logic. Approximate activity calculations based on known open connections. Update rendering of active connection vs connection without end date.
This commit is contained in:
@@ -842,8 +842,10 @@ GuacAdmin.ConnectionEditor = function(connection, parameters) {
|
||||
start.textContent = GuacAdmin.formatDate(record.start);
|
||||
if (record.duration !== null)
|
||||
duration.textContent = GuacAdmin.formatSeconds(record.duration);
|
||||
else
|
||||
else if (record.active)
|
||||
duration.textContent = "Active now";
|
||||
else
|
||||
duration.textContent = "-";
|
||||
|
||||
// Add record to pager
|
||||
history_pager.addElement(row);
|
||||
|
Reference in New Issue
Block a user