Commit d7984102 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'rk4bir-master-patch-08417' into 'master'

Migrate '.fa-spinner' to '.spinner' for 'app/assets/javascripts/blob/pdf/index.js'

See merge request gitlab-org/gitlab!25040
parents 6c285a80 85a1eb46
import Vue from 'vue'; import Vue from 'vue';
import pdfLab from '../../pdf/index.vue'; import pdfLab from '../../pdf/index.vue';
import { GlLoadingIcon } from '@gitlab/ui';
export default () => { export default () => {
const el = document.getElementById('js-pdf-viewer'); const el = document.getElementById('js-pdf-viewer');
...@@ -8,6 +9,7 @@ export default () => { ...@@ -8,6 +9,7 @@ export default () => {
el, el,
components: { components: {
pdfLab, pdfLab,
GlLoadingIcon,
}, },
data() { data() {
return { return {
...@@ -32,11 +34,7 @@ export default () => { ...@@ -32,11 +34,7 @@ export default () => {
<div <div
class="text-center loading" class="text-center loading"
v-if="loading && !error"> v-if="loading && !error">
<i <gl-loading-icon class="mt-5" size="lg"/>
class="fa fa-spinner fa-spin"
aria-hidden="true"
aria-label="PDF loading">
</i>
</div> </div>
<pdf-lab <pdf-lab
v-if="!loadError" v-if="!loadError"
......
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