Commit 848a6eb1 authored by Raihan Kabir's avatar Raihan Kabir Committed by rk4bir

updated icon span with GlLoadingIcon component

parent c4a9f88e
import Vue from 'vue';
import pdfLab from '../../pdf/index.vue';
import { GlLoadingIcon } from '@gitlab/ui';
export default () => {
const el = document.getElementById('js-pdf-viewer');
......@@ -8,6 +9,7 @@ export default () => {
el,
components: {
pdfLab,
GlLoadingIcon,
},
data() {
return {
......@@ -32,11 +34,7 @@ export default () => {
<div
class="text-center loading"
v-if="loading && !error">
<span
class="spinner spinner-sm"
aria-hidden="true"
aria-label="PDF loading">
</span>
<gl-loading-icon />
</div>
<pdf-lab
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