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:
1 parent
a049d2d0bf
commit
70a3b67ef1
3 files changed
+31
-5
No files matched your search
@@ -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