From b65b7d281768eda4d6c86a38ff84f8b4b996d9f4 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Sun, 16 Aug 2020 18:15:17 -0500 Subject: [PATCH] =?UTF-8?q?=E2=80=9CA=20equals=20B=E2=80=9D=20mail=20rules?= =?UTF-8?q?=20should=20be=20case=20insensitive=20along=20with=20the=20othe?= =?UTF-8?q?rs=20#2115?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/components/scenario-editor-models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/scenario-editor-models.ts b/app/src/components/scenario-editor-models.ts index eb9911156..e27fbd70d 100644 --- a/app/src/components/scenario-editor-models.ts +++ b/app/src/components/scenario-editor-models.ts @@ -96,7 +96,7 @@ export const Comparators = { name: localized('equals'), arrayMatchFn: Array.prototype.some, }, - ({ actual, desired }) => actual === desired + ({ actual, desired }) => actual.toLowerCase() === desired.toLowerCase() ), matchesExpression: new Comparator(