Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mitigate ordering dependency between Facets and SearchBar (#401)
Facet retrieval isn't enabled until the Facets component is mounted and initial search happens when the the SearchBar component is mounted, creating an ordering dependency between the two components, if one wishes for facets to be present for an initial search. The location permissions check in 4afecdd mitigates this issue by performing the search asynchronously; this commit makes the code path also asynchronous in browsers that don't support the permissions API.
- Loading branch information