* [bug#51274,done,0.1h] fix undefined.
This commit is contained in:
@@ -21,7 +21,7 @@ window.renderCell = function(result, info)
|
||||
const mail = info.row.data;
|
||||
if(!mail.failReason?.length) return result;
|
||||
|
||||
let failReason = mail.failReason.replaceAll('<br />', '');
|
||||
let failReason = mail.failReason?.replaceAll('<br />', '') ?? '';
|
||||
let html = "<span title='" + failReason + "'>" + failReason.replaceAll("\n", '') + "</span> ";
|
||||
return [{html: html}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user