There are problems with 'typesense-instantsearch-adapter' when using the AisHiearchicalMenu. When I have added more lvls in the attributes, than there are actual lvls in the data, I get errors in the console. When using it natively with Algolia it works, but when using the Typesense adapter problems occur.
Steps to reproduce
Create an index which can be used with AisHiearchicalMenu, and add some lvls to the 'attributes'.
When clicking on the deepest link in the hierarchy, in this case "Trådløse dørklokker", it will give an error in the console. In this example, all of the products in the index have at most 3 lvls. So "lvl0", "lvl1" and "lvl2".
Expected Behavior
That I'm able to select the deepest link without getting an error.
Description
There are problems with 'typesense-instantsearch-adapter' when using the AisHiearchicalMenu. When I have added more lvls in the
attributes
, than there are actual lvls in the data, I get errors in the console. When using it natively with Algolia it works, but when using the Typesense adapter problems occur.Steps to reproduce
Create an index which can be used with AisHiearchicalMenu, and add some lvls to the 'attributes'.
When clicking on the deepest link in the hierarchy, in this case "Trådløse dørklokker", it will give an error in the console. In this example, all of the products in the index have at most 3 lvls. So "lvl0", "lvl1" and "lvl2".
Expected Behavior
That I'm able to select the deepest link without getting an error.
Actual Behavior
Gets an error when selecting the deepest link.
Metadata
vue-instantsearch: 4.10.4 typesense-instantsearch-adapter: 2.7
OS: Windows 11