1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-23 18:34:02 +02:00

fix: toString propertyValue for lowercasing (#4211)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Paul Esch-Laurent 2022-11-21 05:06:55 -06:00 committed by GitHub
parent 6b28be7043
commit aca0107b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,7 +358,7 @@ function searchFilterCards(cards: Card[], board: Board, searchTextRaw: string):
if (options?.includes(searchText)) {
return true
}
} else if ((propertyValue as string).toLowerCase().includes(searchText)) {
} else if ((propertyValue.toString()).toLowerCase().includes(searchText)) {
return true
}
}