Skip to content
Snippets Groups Projects
Commit 067dc3ed authored by Martin Weinelt's avatar Martin Weinelt Committed by David Bauer
Browse files

gluon-status-page: expose method for VPN peers

parent 0e102e79
No related branches found
Tags v2.9+2023-05-12
No related merge requests found
......@@ -209,10 +209,12 @@
tr.appendChild(th);
var td = document.createElement('td');
if (peer[1] && peer[1].established != null)
td.textContent = _['connected'] + ' (' + formats.time(peer[1].established) + ')';
else
if (peer[1] && peer[1].established != null) {
var method = peer[1].method ? ', ' + peer[1].method : '';
td.textContent = _['connected'] + ' (' + formats.time(peer[1].established) + method + ')';
} else {
td.textContent = _['not connected'];
}
tr.appendChild(td);
tbody.appendChild(tr);
......
  • Nico @nrb

    mentioned in commit 1b2da046

    ·

    mentioned in commit 1b2da046

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment