Zero-duration connections should still show as ended.

This commit is contained in:
Michael Jumper
2013-03-03 18:42:11 -08:00
parent 170ffed02a
commit 1fce03279e

View File

@@ -735,7 +735,7 @@ GuacAdmin.addConnection = function(connection) {
// Display record
user.textContent = record.username;
start.textContent = GuacAdmin.formatDate(record.start);
if (record.duration)
if (record.duration != null)
duration.textContent = GuacAdmin.formatSeconds(record.duration);
else
duration.textContent = "Active now";