Hey there!
Why doesn't the following evaluate expression work?
"find(usage, "/") > 0" returns 1 in console log. And 1 should be "true" right?
This does not trigger. There is no browser log shown:
Can't I set variables inside this conditional operator?
What am I doing wrong here?
Edit: I added the parentheses just for testing purposes. Originally I had
find(usage, "/") > 0 ? filter_mode="match" : filter_mode="contains"
which didn't work either.