You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
I'm facing an issue which may be also a needed improvement.
Here's the situation:
I have a list of results (from an Ajax query) that looks as following:
The issue I'm facing is that when the selectivity plugin is intanciated with the multiple option set to true, the filterResults method raises the exception 'TypeError: Cannot read property 'some' of undefined'. As a matter of fact, filterResults checks if any of its results has children (line 124) and this causes the trouble since the filterResults is called on the item's children even if it does not have any (line 132).
I don't know if it makes sense, but would it be possible to modify the filterResults method so there is a check that children actually exists ?
Something like this: