From 6d2ecfbd63552d910cf47528978527160efd6078 Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Wed, 19 Jun 2024 10:56:43 +0000 Subject: [PATCH] * [bug#51274,done,0.1h] fix undefined. --- module/mail/js/browse.ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/mail/js/browse.ui.js b/module/mail/js/browse.ui.js index d48341f30c..780bee68eb 100644 --- a/module/mail/js/browse.ui.js +++ b/module/mail/js/browse.ui.js @@ -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('
', ''); + let failReason = mail.failReason?.replaceAll('
', '') ?? ''; let html = "" + failReason.replaceAll("\n", '') + " "; return [{html: html}]; }