Commit f2194a46 authored by Winnie Hellmann's avatar Winnie Hellmann

Use GlDropdownHeader component in issue board switcher

parent 9ce55685
...@@ -6,6 +6,7 @@ import { ...@@ -6,6 +6,7 @@ import {
GlSearchBox, GlSearchBox,
GlDropdown, GlDropdown,
GlDropdownDivider, GlDropdownDivider,
GlDropdownHeader,
GlDropdownItem, GlDropdownItem,
} from '@gitlab/ui'; } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
...@@ -23,6 +24,7 @@ export default { ...@@ -23,6 +24,7 @@ export default {
GlSearchBox, GlSearchBox,
GlDropdown, GlDropdown,
GlDropdownDivider, GlDropdownDivider,
GlDropdownHeader,
GlDropdownItem, GlDropdownItem,
}, },
props: { props: {
...@@ -218,9 +220,9 @@ export default { ...@@ -218,9 +220,9 @@ export default {
:text="board.name" :text="board.name"
@show="loadBoards" @show="loadBoards"
> >
<div class="dropdown-header position-relative"> <gl-dropdown-header>
<gl-search-box v-if="!loading" ref="searchBox" v-model="filterTerm" /> <gl-search-box v-if="!loading" ref="searchBox" v-model="filterTerm" />
</div> </gl-dropdown-header>
<div class="dropdown-content-faded-mask js-scroll-fade" :class="scrollFadeClass"> <div class="dropdown-content-faded-mask js-scroll-fade" :class="scrollFadeClass">
<div <div
......
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