Commit 9fd0d234 authored by Marcin Sedlak-Jakubowski's avatar Marcin Sedlak-Jakubowski Committed by Ezekiel Kigbo

Migrate toggle replies widget from Bootstrap to GlButton

parent 9e33d482
<script>
import { uniqBy } from 'lodash';
import { GlIcon } from '@gitlab/ui';
import { GlButton, GlIcon } from '@gitlab/ui';
import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue';
import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue';
export default {
components: {
GlButton,
GlIcon,
UserAvatarLink,
TimeAgoTooltip,
......@@ -57,14 +58,15 @@ export default {
tooltip-placement="bottom"
/>
</div>
<button
class="btn btn-link js-replies-text"
<gl-button
class="js-replies-text"
category="tertiary"
variant="link"
data-qa-selector="expand_replies_button"
type="button"
@click="toggle"
>
{{ replies.length }} {{ n__('reply', 'replies', replies.length) }}
</button>
</gl-button>
{{ __('Last reply by') }}
<a :href="lastReply.author.path" class="btn btn-link author-link">
{{ lastReply.author.name }}
......
---
title: Migrate toggle replies widget from Bootstrap to GlButton
merge_request: 45780
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