“A equals B” mail rules should be case insensitive along with the others #2115

This commit is contained in:
Ben Gotow 2020-08-16 18:15:17 -05:00
parent 8b57cb4c32
commit b65b7d2817

View file

@ -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(