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>
import { GlLoadingIcon } from '@gitlab/ui';
export default {
name: 'ResolveDiscussionButton',
components: {
GlLoadingIcon,
},
props: {
isResolving: {
type: Boolean,
......@@ -17,12 +22,7 @@ export default {
<template>
<button ref="button" type="button" class="btn btn-default ml-sm-2" @click="$emit('onClick')">
<i
v-if="isResolving"
ref="isResolvingIcon"
aria-hidden="true"
class="fa fa-spinner fa-spin"
></i>
<gl-loading-icon v-if="isResolving" ref="isResolvingIcon" inline />
{{ buttonTitle }}
</button>
</template>
......@@ -51,7 +51,8 @@
}
.btn {
.spinner {
.spinner,
.gl-spinner {
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