1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-17 20:01:31 +00:00

fix rspamd 1.47 missing time_virtual value

This commit is contained in:
friedPotat0
2019-10-12 23:42:23 +02:00
parent 726235e9ee
commit fbb800a783

View File

@@ -496,7 +496,10 @@ jQuery(function($){
return str
}).join('<br>\n');
item.subject = escapeHtml(item.subject);
var scan_time = item.time_real.toFixed(3) + ' / ' + item.time_virtual.toFixed(3);
var scan_time = item.time_real.toFixed(3);
if (item.time_virtual) {
scan_time += ' / ' + item.time_virtual.toFixed(3);
}
item.scan_time = {
"options": {
"sortValue": item.time_real