Verified Commit f5114c07 authored by Mark Florian's avatar Mark Florian 🔴
Browse files

fix(GlFilteredSearch): Improve activeTokenIdx check in isLastToken

This negation is truthy when activeTokenIdx is null (there's no active
token) *and* when it's 0 (the first token is active).

This means that the last token is told it's *not* the last token if
anything other than the *first* token is active. We don't want to treat
the first token specially like this, so instead we check just for null.
parent 0bf7c97d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment