Skip to content

Custom filteration in Stencil not working #2555

Answered by kumilingus
kvinita asked this question in Q&A
Discussion options

You must be logged in to vote

You are trying to call includes() on undefined.
You need to check if the property is a string first (or fallback to an empty string when the property does not exist).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kvinita
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants