Custom filteration in Stencil not working #2555
-
Beta Was this translation helpful? Give feedback.
Answered by
kumilingus
Feb 28, 2024
Replies: 1 comment
-
You are trying to call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kvinita
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are trying to call
includes()
onundefined
.You need to check if the property is a string first (or fallback to an empty string when the property does not exist).