mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
Zero-duration connections should still show as ended.
This commit is contained in:
@@ -735,7 +735,7 @@ GuacAdmin.addConnection = function(connection) {
|
|||||||
// Display record
|
// Display record
|
||||||
user.textContent = record.username;
|
user.textContent = record.username;
|
||||||
start.textContent = GuacAdmin.formatDate(record.start);
|
start.textContent = GuacAdmin.formatDate(record.start);
|
||||||
if (record.duration)
|
if (record.duration != null)
|
||||||
duration.textContent = GuacAdmin.formatSeconds(record.duration);
|
duration.textContent = GuacAdmin.formatSeconds(record.duration);
|
||||||
else
|
else
|
||||||
duration.textContent = "Active now";
|
duration.textContent = "Active now";
|
||||||
|
Reference in New Issue
Block a user