Commit 91476b56 authored by Marcin Sedlak-Jakubowski's avatar Marcin Sedlak-Jakubowski Committed by Olena Horal-Koretska

Migrate Bootstrap button to GitLab UI button

MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41894
parent a90559bd
<script> <script>
import { GlButton } from '@gitlab/ui';
export default { export default {
components: {
GlButton,
},
props: { props: {
item: { item: {
type: Object, type: Object,
...@@ -15,11 +20,9 @@ export default { ...@@ -15,11 +20,9 @@ export default {
</script> </script>
<template> <template>
<li class="filter-dropdown-item" @click="handleItemClick"> <li>
<button class="btn btn-link dropdown-user" type="button"> <gl-button category="tertiary" class="gl-rounded-0!" @click="handleItemClick">
<div class="dropdown-user-details"> <span class="gl-white-space-normal">{{ item.title }}</span>
<div :title="item.title">{{ item.title }}</div> </gl-button>
</div>
</button>
</li> </li>
</template> </template>
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