Commit 2c0dd6cc authored by Mark Florian's avatar Mark Florian

Replace deprecated component

GitLab adopted @gitlab/ui^3.0.0 during the lifetime of this branch. The
breaking change introduced the GlSearchBoxByType and GlSearchBoxByClick
components, and removed the GlSearchBox.
parent 25d5d33f
<script>
import { mapGetters, mapActions } from 'vuex';
import { GlDropdown, GlSearchBox } from '@gitlab/ui';
import { GlDropdown, GlSearchBoxByType } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
export default {
components: {
GlDropdown,
GlSearchBox,
GlSearchBoxByType,
Icon,
},
props: {
......@@ -83,7 +83,7 @@ export default {
</button>
</div>
<gl-search-box
<gl-search-box-by-type
v-if="filter.options.length >= 20"
ref="searchBox"
v-model="filterTerm"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment