JackMorrissey/beyond-rule-4

Ignore emojis when testing for retirement-type contributions

jaysonsmith opened this issue · 2 comments

const isContribution = this.contributionCategoryGroups.includes(c.name.toLowerCase());

If a user has emoji'd - up their categories, these filters won't match automatically. Perhaps substring search or something of the sort, or something to filter emojis from the comparisons.

Thanks for the suggestion @jaysonsmith. I did a substring search and threw in a few additional emojis to look for for each section while I was at it. Please give it a whirl and let me know if that works for you.

Works great, thanks!