From c07be789566ef63c24e5d886bcfbe0dcbde3137b Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Tue, 22 May 2018 21:17:22 +0300 Subject: [PATCH] [WebUI] Match envelope and mime addresses following in arbitrary order --- interface/js/app/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/js/app/history.js b/interface/js/app/history.js index d686a50ca..3d73c034f 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -171,7 +171,7 @@ function($, _, Humanize) { "value": scan_time }; item.id = item['message-id']; - if (JSON.stringify(item.rcpt_smtp) !== JSON.stringify(item.rcpt_mime)) { + if ($(item.rcpt_mime).not(item.rcpt_smtp).length !== 0 || $(item.rcpt_smtp).not(item.rcpt_mime).length !== 0) { item.rcpt_mime = "[" + item.rcpt_smtp.join(",​") + "] " + item.rcpt_mime.join(",​"); } else { item.rcpt_mime = item.rcpt_mime.join(",​"); -- 2.39.5