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> <script>
import { mapGetters, mapActions } from 'vuex'; 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'; import Icon from '~/vue_shared/components/icon.vue';
export default { export default {
components: { components: {
GlDropdown, GlDropdown,
GlSearchBox, GlSearchBoxByType,
Icon, Icon,
}, },
props: { props: {
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
</button> </button>
</div> </div>
<gl-search-box <gl-search-box-by-type
v-if="filter.options.length >= 20" v-if="filter.options.length >= 20"
ref="searchBox" ref="searchBox"
v-model="filterTerm" 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