fix filters not being case-insensitive
This commit is contained in:
parent
921c6fd202
commit
fc8fdf7bc3
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ export const muteFilterHits = (muteFilters, status) => {
|
|||
if (expires !== null && expires < Date.now()) return false
|
||||
switch (type) {
|
||||
case 'word': {
|
||||
if (statusText.includes(value) || statusSummary.includes(value)) {
|
||||
const lowercaseValue = value.toLowerCase()
|
||||
if (statusText.toLowerCase().includes(lowercaseValue) || statusSummary.toLowerCase().includes(lowercaseValue)) {
|
||||
return { hide, name }
|
||||
}
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue