diff --git a/templates/webadmin/events.html b/templates/webadmin/events.html index c838b952..98f8748d 100644 --- a/templates/webadmin/events.html +++ b/templates/webadmin/events.html @@ -518,6 +518,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). { data: "virtual_path", defaultContent: "", + width: '20%', render: function(data, type, row) { if (type === 'display') { if (!data){ @@ -564,6 +565,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). { data: "status", defaultContent: "", + width: '15%', render: function(data, type, row) { if (type === 'display') { let info = ""; @@ -927,6 +929,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). { data: "message", defaultContent: "", + width: '25%', render: function(data, type, row) { if (type === 'display') { if (data){ diff --git a/templates/webadmin/iplists.html b/templates/webadmin/iplists.html index 2c792e3e..aa74d40c 100644 --- a/templates/webadmin/iplists.html +++ b/templates/webadmin/iplists.html @@ -332,7 +332,10 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). visible: true, render: function(data, type, row) { if (type === 'display') { - return escapeHTML(data); + if (data){ + return escapeHTML(data); + } + return "" } return data; }