Commit 23d8d33c authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Kushal Pandya

Resolve Migrate '.fa-spinner' to '.spinner' for...

Resolve Migrate '.fa-spinner' to '.spinner' for 'app/assets/javascripts/notes/components/discussion_resolve_button.vue'
parent 57aa6197
<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