Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/search/index.js')
-rw-r--r--app/assets/javascripts/search/index.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/assets/javascripts/search/index.js b/app/assets/javascripts/search/index.js
index d4ee857c9c1..d71785d7fac 100644
--- a/app/assets/javascripts/search/index.js
+++ b/app/assets/javascripts/search/index.js
@@ -1,6 +1,5 @@
import setHighlightClass from 'ee_else_ce/search/highlight_blob_search_result';
import { queryToObject } from '~/lib/utils/url_utility';
-import refreshCounts from '~/pages/search/show/refresh_counts';
import syntaxHighlight from '~/syntax_highlight';
import { initSidebar, sidebarInitState } from './sidebar';
import { initSearchSort } from './sort';
@@ -24,8 +23,4 @@ export const initSearchApp = () => {
setHighlightClass(query.search); // Code Highlighting
initBlobRefSwitcher(); // Code Search Branch Picker
-
- if (!gon.features?.searchPageVerticalNav) {
- refreshCounts(); // Other Scope Tab Counts
- }
};