core.active check removed

This commit is contained in:
svetlagasheva 2021-03-02 12:23:33 +02:00
parent ca81562f04
commit a0745df10d

View file

@ -26,7 +26,7 @@ const Search = ({ queryParams }) => {
null;
}, [search.selected]);
const debounceAnanlytics = debounce((query, search) => {
if (query !== null && core.active) {
if (query !== null) {
const responses_count = search.catalogs.filter((catalog) => catalog.content.type !== 'Loading').length;
core.transport.analytics({
event: 'Search',