Refactor issue index filtered search
This commit is contained in:
parent
bbfec704f7
commit
d9763cb4df
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,14 @@
|
||||||
|
import '~/filtered_search/dropdown_emoji';
|
||||||
|
import '~/filtered_search/dropdown_hint';
|
||||||
|
import '~/filtered_search/dropdown_non_user';
|
||||||
|
import '~/filtered_search/dropdown_user';
|
||||||
|
import '~/filtered_search/dropdown_utils';
|
||||||
|
import '~/filtered_search/filtered_search_dropdown_manager';
|
||||||
|
import '~/filtered_search/filtered_search_dropdown';
|
||||||
|
import '~/filtered_search/filtered_search_manager';
|
||||||
|
import '~/filtered_search/filtered_search_tokenizer';
|
||||||
|
import '~/filtered_search/filtered_search_visual_tokens';
|
||||||
|
|
||||||
export default ({ page }) => {
|
export default ({ page }) => {
|
||||||
const filteredSearchEnabled = gl.FilteredSearchManager && document.querySelector('.filtered-search');
|
const filteredSearchEnabled = gl.FilteredSearchManager && document.querySelector('.filtered-search');
|
||||||
if (filteredSearchEnabled) {
|
if (filteredSearchEnabled) {
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
- content_for :page_specific_javascripts do
|
- content_for :page_specific_javascripts do
|
||||||
= webpack_bundle_tag 'common_vue'
|
= webpack_bundle_tag 'common_vue'
|
||||||
= webpack_bundle_tag 'filtered_search'
|
|
||||||
|
|
||||||
= content_for :meta_tags do
|
= content_for :meta_tags do
|
||||||
= auto_discovery_link_tag(:atom, params.merge(rss_url_options), title: "#{@project.name} issues")
|
= auto_discovery_link_tag(:atom, params.merge(rss_url_options), title: "#{@project.name} issues")
|
||||||
|
|
Loading…
Reference in a new issue