diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-03 12:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-03 12:09:07 +0300 |
commit | 00f4585755bb15ed7ae5bfa32ca5c29112532294 (patch) | |
tree | 52a10e2bd4dd6807ddfeff6b2264516fe2dd0168 /app/assets/javascripts/frequent_items | |
parent | 8bb66ea7e1b00a3b1702e5747ea3a1d332fb11f5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/frequent_items')
-rw-r--r-- | app/assets/javascripts/frequent_items/components/frequent_items_search_input.vue | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/assets/javascripts/frequent_items/components/frequent_items_search_input.vue b/app/assets/javascripts/frequent_items/components/frequent_items_search_input.vue index b167527c693..b4a57a0a619 100644 --- a/app/assets/javascripts/frequent_items/components/frequent_items_search_input.vue +++ b/app/assets/javascripts/frequent_items/components/frequent_items_search_input.vue @@ -3,7 +3,6 @@ import { debounce } from 'lodash'; import { mapActions, mapState } from 'vuex'; import { GlIcon } from '@gitlab/ui'; import Tracking from '~/tracking'; -import eventHub from '../event_hub'; import frequentItemsMixin from './frequent_items_mixin'; const trackingMixin = Tracking.mixin(); @@ -32,12 +31,6 @@ export default { this.setSearchQuery(this.searchQuery); }, 500), }, - mounted() { - eventHub.$on(`${this.namespace}-dropdownOpen`, this.setFocus); - }, - beforeDestroy() { - eventHub.$off(`${this.namespace}-dropdownOpen`, this.setFocus); - }, methods: { ...mapActions(['setSearchQuery']), setFocus() { |