Fixed includes filter (#2001)

The includes was buggy and was looking the opposite way around.
This commit is contained in:
alauzon 2020-03-18 17:37:59 -04:00 committed by GitHub
parent 60d8244f58
commit e935d349e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ export const includes = (rows, ids, filterValue) => {
return rows.filter(row => {
return ids.some(id => {
const rowValue = row.values[id]
return filterValue.includes(rowValue)
return rowValue.includes(filterValue)
})
})
}