Commit c703ad51 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch 'Resolve-Migrate-.fa-spinner-app/assets/javascripts/notes/components/discussion_resolve_button.vue' into 'master'

Resolve Migrate '.fa-spinner' to '.spinner' for 'app/assets/javascripts/notes/components/discussion_resolve_button.vue'

See merge request gitlab-org/gitlab!25055
parents 394ab119 23d8d33c
<script> <script>
import { GlLoadingIcon } from '@gitlab/ui';
export default { export default {
name: 'ResolveDiscussionButton', name: 'ResolveDiscussionButton',
components: {
GlLoadingIcon,
},
props: { props: {
isResolving: { isResolving: {
type: Boolean, type: Boolean,
...@@ -17,12 +22,7 @@ export default { ...@@ -17,12 +22,7 @@ export default {
<template> <template>
<button ref="button" type="button" class="btn btn-default ml-sm-2" @click="$emit('onClick')"> <button ref="button" type="button" class="btn btn-default ml-sm-2" @click="$emit('onClick')">
<i <gl-loading-icon v-if="isResolving" ref="isResolvingIcon" inline />
v-if="isResolving"
ref="isResolvingIcon"
aria-hidden="true"
class="fa fa-spinner fa-spin"
></i>
{{ buttonTitle }} {{ buttonTitle }}
</button> </button>
</template> </template>
...@@ -51,7 +51,8 @@ ...@@ -51,7 +51,8 @@
} }
.btn { .btn {
.spinner { .spinner,
.gl-spinner {
vertical-align: text-bottom; vertical-align: text-bottom;
} }
} }
---
title: Migrate .fa-spinner to .spinner for app/assets/javascripts/notes/components/discussion_resolve_button.vue
merge_request: 25055
author: nuwe1
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