Commit 23ee8dcd authored by Tim Zallmann's avatar Tim Zallmann

Merge branch...

Merge branch '229317-migrate-bootstrap-button-to-gitlab-ui-glbutton-in-ee-app-assets-javascripts-boards' into 'master'

Migrate Bootstrap button to GlButton in …assignees_list_item.vue

Closes #229317

See merge request gitlab-org/gitlab!40398
parents c732561d cfdc2632
<script>
import { GlButton } from '@gitlab/ui';
import { sprintf, __ } from '~/locale';
export default {
components: {
GlButton,
},
props: {
item: {
type: Object,
......@@ -25,7 +29,7 @@ export default {
<template>
<li class="filter-dropdown-item" @click="handleItemClick">
<button class="btn btn-link dropdown-user d-flex py-2 px-4" type="button">
<gl-button variant="link" category="primary" class="dropdown-user">
<div class="avatar-container s32 flex-shrink-0">
<img :alt="avatarAltText" :src="item.avatar_url" class="avatar s32 lazy" />
</div>
......@@ -33,6 +37,6 @@ export default {
<div class="text-truncate">{{ item.name }}</div>
<div class="text-truncate dropdown-light-content">@{{ item.username }}</div>
</div>
</button>
</gl-button>
</li>
</template>
---
title: Migrate Bootstrap button to GlButton in the issue boards assignee dropdown list
merge_request: 40398
author:
type: other
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