Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(insight): literally just a single character! (#4841)
### fix(insight): facet manager bindings error on disconnect callback [SVCC-4338](https://coveord.atlassian.net/browse/SVCC-4338) There was an error if you add the component to the DOM and then remove it **without** calling initialize on the search interface, since bindings are undefined, so I added an optional chaining operator on the facet manager disconnect callback to not have an error! It was not a big deal but mostly annoying in ServiceNow since it displayed a huge error toast on the client side 😓 [SVCC-4338]: https://coveord.atlassian.net/browse/SVCC-4338?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ Co-authored-by: Louis Bompart <[email protected]>
- Loading branch information