[Web] Fix null ua in debug.js - fixes #2615

master
andryyy 2019-05-18 15:34:57 +02:00
parent 45359bb6cf
commit 5bb23a2664
1 changed files with 3 additions and 0 deletions

View File

@ -524,6 +524,9 @@ jQuery(function($){
});
} else if (table == 'autodiscover_log') {
$.each(data, function (i, item) {
if (item.ua == null) {
item.ua = 'unknown';
}
item.ua = '<span style="font-size:small">' + item.ua + '</span>';
if (item.service == "activesync") {
item.service = '<span class="label label-info">ActiveSync</span>';